Giter Club home page Giter Club logo

Comments (4)

rgbkrk avatar rgbkrk commented on May 22, 2024

Would that break the perception of a linear flow of a notebook run by papermill?

I guess this kind of leads towards a desire to stitch notebooks together in parts rather than always having the whole document. It's useful to have them together when authoring, when run as a job though you want a limited view I suppose?

from papermill.

betatim avatar betatim commented on May 22, 2024

What about supporting something like papermill step1.ipynb step2.ipynb outputs/ which then generates outputs/combined.ipynb? I'd rather compose notebooks on the command line than have annotations on cells to run/not run them.

One thing that is a bit clunky is passing complex objects (like fitted sklearn estimators) from notebook to notebook.

from papermill.

hoangthienan95 avatar hoangthienan95 commented on May 22, 2024

Has this feature been implemented? It'd be useful for debugging and/or Demo-ing a portion of the script at the end of the notebook, along with discussing design choices, sample data, analysis etc. When run on real data, the demo will be skipped. Right now I'm commenting the demo out and have to undo everytime I want to debug/show demo. Is it recommended that we keep 2 separate notebooks in this case? Keeping them up to date/coupled with each other can be a nuisance.

from papermill.

MSeal avatar MSeal commented on May 22, 2024

No, overall I think it's in the realm of potentially nice but complex. We've been leaning to keeping the repo simple over convenience features. One way you can control this today is to gate your demo cell with an if demo: wrapper and then set that in papermill -p demo on or at the top of the notebook when you want the demo activated.

I think I'm going to close this issue based on the trade-off discussions we've had in the past on related topics. If notebook format adopts a skip flag then we'll reopen this issue and address matching compatibility with other interfaces.

from papermill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.