Showing posts with the label ipython-notebook

[FIXED] How can I assign to the ipython global namespace from within ipdb?

Issue I have a traceback in an IPython notebook that I'm debugging with the %debug magic. I…

[FIXED] Unreadable Notebook NotJSONError('Notebook does not appear to be JSON: u\'{\\n "cells": [\\n {\\n "cell_type": "...',)

Issue Getting this very strange error when I am trying to load my ipython notebook. Never had it be…

[FIXED] Can I access python variables within a `%%bash` or `%%script` ipython notebook cell?

Issue Is there a way to access variables in the current python kernel from within a %%bash or othe…

[FIXED] Display multiple images in one IPython Notebook cell?

Issue If I have multiple images (loaded as NumPy arrays) how can I display the in one IPython Noteb…

[FIXED] Run code before an IPython Notebook cell runs

Issue I'm writing a bunch of examples of how to use Flask and currently I want to be able to j…

[FIXED] Price column object to int in pandas

Issue I have a column called amount with holds values that look like this: $3,092.44 when I do data…

[FIXED] Format certain floating dataframe columns into percentage in pandas

Issue I am trying to write a paper in IPython notebook, but encountered some issues with display fo…

[FIXED] How to (intermittently) skip certain cells when running IPython notebook?

Issue I usually have to rerun (most parts of) a notebook when reopen it, in order to get access to …

[FIXED] Pandas: Setting no. of max rows

Issue I have a problem viewing the following DataFrame : n = 100 foo = DataFrame(index=range(n)) …

[FIXED] Pretty JSON Formatting in IPython Notebook

Issue Is there an existing way to get json.dumps() output to appear as "pretty" formatte…

[FIXED] How do I run Python asyncio code in a Jupyter notebook?

Issue I have some asyncio code which runs fine in the Python interpreter (CPython 3.6.2). I would n…