28 Jupyter Notebook tips, tricks and shortcuts
If you want to set this behaviour for all instances of Jupyter (Notebook and Console), simply create a file ~/.ipython/profile_default/ipython_config.py with the lines below. 3. Easy links to documentation Inside the Help menu you’ll find handy links to the online documentation for common libraries including NumPy, Pandas, SciPy and Matplotlib. Don’t forget also that by prepending a library, method or variable with ?, you can access the Docstring for quick reference on syntax. 4. There are many options for generating plots in your notebooks. matplotlib (the de-facto standard), activated with %matplotlib inline – Here’s a Dataquest Matplotlib Tutorial. The Jupyter interface. 5. The %matplotlib inline you saw above was an example of a IPython Magic command. # This will list all magic commands%lsmagic I recommend browsing the documentation for all IPython Magic commands as you’ll no doubt find some that work for you. 6. env: OMP_NUM_THREADS=4 7. 8. # Before Running%load . # After Running# %load . ! !
Related: Dataviz - Python