Skip to content
Advertisement

Tag: ipython

Can I run Jupyter notebook cells in commandline?

I am deploying a Python package, and I would like to run a simple test to see if all cells in my notebook will run without errors. I would like to test this via commandline as I have issues running a notebook in virtualenv. Is there are simple command-line way to test this? Note to the moderator: this question has

double click to open an ipython notebook

Related posts: Open an ipython notebook via double-click on osx How can I open Ipython notebook from double click? I always cd to the directory of the notebook, then type ipython notebook in the browser and then open it in the browser. This steps is very inconvenient. In windows, I remembered that I can change the directory in the browser,

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

Check if a value exists in pandas dataframe index

I am sure there is an obvious way to do this but cant think of anything slick right now. Basically instead of raising exception I would like to get True or False to see if a value exists in pandas df index. What I have working now is the following Answer This should do the trick

How to configure display output in IPython pandas

I’m trying to configure my IPython output in my OS X terminal, but it would seem that none of the changes I’m trying to set are taking effect. I’m trying to configure the display settings such that wider outputs like a big DataFrame will output without any truncation or as the summary info. After importing pandas into my script, I

Advertisement