Skip to main content
50 events
when toggle format what by license comment
Oct 10, 2023 at 16:56 answer added Frank timeline score: 0
May 12, 2022 at 12:04 comment added jena Do I understand it right that you would wish to have notebooks where outputs do not necessarily correspond to input code? That sounds like a nighmare, if not dangerous. Can I ask why would somebody want that?
Feb 26, 2022 at 4:05 comment added Ido Michael You can use our open-source framework - Ploomber (github.com/ploomber/ploomber) exactly for this task. It’s making your work with notebooks faster, helps you export it to raw python files and back to notebooks. That way you can develop production ready code. It's open sourced so most of the ideas in it came from the community and people trying to solve similar issues in the MLops domain.
Nov 16, 2021 at 4:33 comment added Royi Related to stackoverflow.com/questions/28908319.
Nov 16, 2021 at 4:30 history edited Royi CC BY-SA 4.0
edited title
Jun 19, 2020 at 23:56 answer added tyoc213 timeline score: 5
Apr 11, 2020 at 13:56 answer added amirathi timeline score: 4
Jul 29, 2019 at 16:29 history protected Anshul Goyal
Jun 22, 2019 at 17:52 answer added Marc Wouts timeline score: 23
Apr 23, 2019 at 9:25 answer added nik timeline score: 30
Feb 3, 2019 at 21:13 answer added SwimBikeRun timeline score: 24
Feb 3, 2019 at 20:27 comment added SwimBikeRun Isn't the best solution a PR to github to just change the diff tool to special case notebook diffs and only show the diff of the input cells? Then you still get the output saved and rendered on GitHub, which is a big useful feature of notebooks.
Nov 25, 2018 at 17:30 answer added simon timeline score: 9
Nov 21, 2018 at 0:48 answer added neves timeline score: 19
Feb 22, 2018 at 9:48 history edited Vadim Kotov CC BY-SA 3.0
fixed broken link
Jan 17, 2018 at 11:02 answer added sat timeline score: 1
Dec 10, 2017 at 19:55 answer added Krzysztof Słowiński timeline score: 0
Jul 26, 2017 at 11:23 answer added binaryfunt timeline score: 3
S Jun 19, 2017 at 10:19 history suggested maxkoryukov CC BY-SA 3.0
Fix formatting and add link to mentioned Gregory Crosswhite's solution
Jun 18, 2017 at 18:57 review Suggested edits
S Jun 19, 2017 at 10:19
Jun 2, 2017 at 15:21 answer added brook timeline score: 4
Feb 9, 2017 at 4:40 answer added Wes Turner timeline score: 14
Feb 27, 2016 at 13:32 answer added kynan timeline score: 41
May 31, 2015 at 12:26 answer added Guillaume Dumas timeline score: 3
Mar 16, 2015 at 14:05 answer added Peter timeline score: 1
Mar 11, 2015 at 15:28 comment added Dror @kobejohn: I just added an answer
Mar 11, 2015 at 15:27 answer added Dror timeline score: 8
Feb 21, 2015 at 22:09 answer added Spencer timeline score: 13
Feb 18, 2015 at 14:38 answer added Peter timeline score: 1
Dec 19, 2014 at 8:26 comment added mforbes @kobejohn I will eventually, but am a bit swamped right now. Maybe somebody else will beat me to it!
Dec 17, 2014 at 14:10 comment added KobeJohn @mforbes Looks like that PR was just merged a few days after your comment. Could you or someone more knowledgeable than me post an answer here that shows how to use the new feature?
Dec 7, 2014 at 5:32 comment added mforbes It looks like IPython is getting close. Once PR 6896 is accepted, then we should be able to resolve this question through pre and post save hooks.
Nov 5, 2014 at 22:07 comment added mforbes @saroele I have not yet found a recommended solution: I was going to go with the --script option, but that has been removed. I am waiting until post-save hooks are implemented (which are planned) at which point I think I will be able to provide an acceptable solution combining several of the techniques.
Nov 4, 2014 at 20:56 comment added saroele Very good question, but I don't see an accepted answer. Which answers did you try? Is there a recommended solution?
Sep 10, 2014 at 16:36 comment added Thomas K Another partial solution: a filter for git that displays cleaner diffs, but still commits the actual notebooks whole and unmodified: gist.github.com/takluyver/bc8f3275c7d34abb68bf
Sep 10, 2014 at 12:13 answer added Rich Signell timeline score: 67
Jul 22, 2014 at 13:35 answer added Albert timeline score: 7
Dec 30, 2013 at 17:35 answer added Pietro Battiston timeline score: 139
Nov 30, 2013 at 3:02 history edited mforbes CC BY-SA 3.0
Added an update about what issues still remain.
Nov 4, 2013 at 4:27 answer added Gregory Crosswhite timeline score: 7
Oct 21, 2013 at 2:58 comment added foobarbecue Fair enough. Looking forward to the solution, I'll probably use it.
Oct 20, 2013 at 20:01 comment added mforbes @foobarbecue The question contains unsatisfactory workarounds: each one has at least one limitation. Now that PR 4175 has been merged, a complete solution can probably be formulated, but this still needs to be done. As soon as I have some time, I will do it (as an answer) if someone else does not provide a satisfactory solution in the meantime.
Oct 19, 2013 at 16:42 comment added foobarbecue All answers are contained in the question! @mforbes, it's fine to answer your own question, but better if you can put the answers in an answer.
Oct 3, 2013 at 4:16 audit Reopen votes
Oct 3, 2013 at 4:16
Sep 19, 2013 at 12:03 comment added Matthias Once you have a working script for removing the output, you can use a Git "clean" filter to apply it automatically before committing (see clean/smudge filters).
Sep 13, 2013 at 20:46 comment added mforbes @Kyle I did also mention this on the mailing list. It looks like PR 4175 will be resolved in a matter of hours/days so I expect this to move quickly.
Sep 13, 2013 at 13:23 comment added Kyle Kelley Yeah, their development is moving fast and steadily every day. The devs are good folks though (and have probably read this posting). I know I want an easy workflow for working with git.
Sep 13, 2013 at 8:52 comment added mforbes @Kyle As you can see, there is already of plethora of PR's and issues relating to this goal. Once these are resolved (namely PR 4175), then a definitive answer should be available but will likely involve some additional scripting outside of IPython (git or hg hooks for example). Thus, I don't think there will be anything gained by adding a new PR or issue.
Sep 12, 2013 at 21:25 comment added Kyle Kelley Sounds like a great thing to add as an issue on github.com/ipython/ipython or submit a pull request that helps you further this goal.
Sep 11, 2013 at 7:05 history asked mforbes CC BY-SA 3.0