Skip to content
Advertisement

Tag: jupyter-notebook

Print not showing in ipython notebook

I am using ipython notebook (http://ipython.org/notebook.html) to do a demo and it seems like the print function is not working: The commands in the above picture are rewritten here for clarity. In short, there’s no print output from the [2]. Does anyone know whether it’s a known bug? And does anyone know how to fix it? Answer I had a

Pandas: Setting no. of max rows

I have a problem viewing the following DataFrame: The problem is that it does not print all rows per default in ipython notebook, but I have to slice to view the resulting rows. Even the following option does not change the output: Does anyone know how to display the whole array? Answer Set display.max_rows: For older versions of pandas (<=0.11.0)

How can I display an image from a file in Jupyter Notebook?

I would like to use an IPython notebook as a way to interactively analyze some genome charts I am making with Biopython’s GenomeDiagram module. While there is extensive documentation on how to use matplotlib to get graphs inline in IPython notebook, GenomeDiagram uses the ReportLab toolkit which I don’t think is supported for inline graphing in IPython. I was thinking,

How to close IPython Notebook properly?

How to close IPython Notebook properly? Currently, I just close the browser tabs and then use Ctrl+C in the terminal. Unfortunately, neither exit() nor ticking Kill kernel upon exit does help (they do kill the kernel they but don’t exit the iPython). Answer There isn’t currently a better way to do it than Ctrl+C in the terminal. We’re thinking about

Advertisement