All Projects → jbwhit → Jupyter Tips And Tricks

jbwhit / Jupyter Tips And Tricks

Licence: mit
Using Project Jupyter for data science.

Projects that are alternatives of or similar to Jupyter Tips And Tricks

Lantern
Data exploration glue
Stars: ✭ 292 (+19.18%)
Mutual labels:  jupyter, pandas, jupyterlab, matplotlib
Geopython
Notebooks and libraries for spatial/geo Python explorations
Stars: ✭ 268 (+9.39%)
Mutual labels:  jupyter-notebook, jupyter, pandas, matplotlib
Opendatawrangling
공공데이터 분석
Stars: ✭ 148 (-39.59%)
Mutual labels:  jupyter-notebook, jupyter, pandas, matplotlib
Crime Analysis
Association Rule Mining from Spatial Data for Crime Analysis
Stars: ✭ 20 (-91.84%)
Mutual labels:  jupyter-notebook, jupyter, pandas, matplotlib
Cheatsheets.pdf
📚 Various cheatsheets in PDF
Stars: ✭ 159 (-35.1%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Alphalens
Performance analysis of predictive (alpha) stock factors
Stars: ✭ 2,130 (+769.39%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Edaviz
edaviz - Python library for Exploratory Data Analysis and Visualization in Jupyter Notebook or Jupyter Lab
Stars: ✭ 220 (-10.2%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Dexplot
Simple plotting library that wraps Matplotlib and integrated with DataFrames
Stars: ✭ 208 (-15.1%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Sqlcell
SQLCell is a magic function for the Jupyter Notebook that executes raw, parallel, parameterized SQL queries with the ability to accept Python values as parameters and assign output data to Python variables while concurrently running Python code. And *much* more.
Stars: ✭ 145 (-40.82%)
Mutual labels:  jupyter-notebook, jupyter, jupyterlab
Py
Repository to store sample python programs for python learning
Stars: ✭ 4,154 (+1595.51%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Paperboy
A web frontend for scheduling Jupyter notebook reports
Stars: ✭ 221 (-9.8%)
Mutual labels:  jupyter-notebook, jupyter, jupyterlab
Best Of Jupyter
🏆 A ranked list of awesome Jupyter Notebook, Hub and Lab projects (extensions, kernels, tools). Updated weekly.
Stars: ✭ 200 (-18.37%)
Mutual labels:  jupyter-notebook, jupyter, jupyterlab
Machine Learning With Python
Practice and tutorial-style notebooks covering wide variety of machine learning techniques
Stars: ✭ 2,197 (+796.73%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Windrose
A Python Matplotlib, Numpy library to manage wind data, draw windrose (also known as a polar rose plot), draw probability density function and fit Weibull distribution
Stars: ✭ 208 (-15.1%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Awesome Jupyter
A curated list of awesome Jupyter projects, libraries and resources
Stars: ✭ 2,523 (+929.8%)
Mutual labels:  jupyter-notebook, jupyter, jupyterlab
Learnpythonforresearch
This repository provides everything you need to get started with Python for (social science) research.
Stars: ✭ 163 (-33.47%)
Mutual labels:  jupyter-notebook, jupyter, pandas
California Coronavirus Data
The Los Angeles Times' independent tally of coronavirus cases in California.
Stars: ✭ 188 (-23.27%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Kagglestruggle
Kaggle Struggle
Stars: ✭ 228 (-6.94%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Jupyterwith
declarative and reproducible Jupyter environments - powered by Nix
Stars: ✭ 235 (-4.08%)
Mutual labels:  jupyter-notebook, jupyter, jupyterlab
Practical Machine Learning With Python
Master the essential skills needed to recognize and solve complex real-world problems with Machine Learning and Deep Learning by leveraging the highly popular Python Machine Learning Eco-system.
Stars: ✭ 1,868 (+662.45%)
Mutual labels:  jupyter-notebook, jupyter, pandas

Jupyter Notebook Tips and Tricks

A few (hopefully) useful tips and tricks to using the Jupyter Notebook with an eye to pragmatic usage. This is not, in any way, an exhaustive demonstration of the features of the Jupyter notebook. Further, you can go through these notebooks on your own, but I usually demonstrate using them and give lots of information verbally.

If you have any suggestions, edits, or corrections, please open an issue or let me know some other way. Best of luck!

Assuming you are on a Mac

Install Miniconda (if you haven't already)

cd ~/Downloads
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh
# go through the licensing and accept the defaults
source ~/.bashrc
conda update conda

Create a new conda environments

The following commands are how I set up both my conda config and the enviroments that I use.

Add conda-forge to your automatic channels, and the second line makes it so that you don't have to confirm that you want to install when you do things like conda install numpy.

conda config --add channels conda-forge
conda config --set always_yes yes

This following block is bash -- I recommend pasting in the commands one at a time to see what's happening.

# set the environment name here

envname='dspy3'

packages='
altair
anaconda-client
black
bqplot
ipyvolume
ipywebrtc
ipywidgets
jupyter
jupyter_contrib_nbextensions
jupyterlab
matplotlib
mkl
mpld3
notebook
numpy
pandas
pip
pivottablejs
pyparsing
pyscaffold
qgrid
scikit-learn
scipy
seaborn
sphinx
statsmodels
vaex
vega
vega_datasets
xlrd
yapf
'

conda create -n $envname python=3.8 $packages
conda activate $envname

# Pause here, double check that this pip is the correct one
type pip

# the correct one will say something like... 
# $ type pip
# pip is /Users/jonathan/miniconda3/envs/dspy3/bin/pip

python -m pip install pyhive sql_magic SQLAlchemy nbdime papermill nbdev

# lets the notebook extension (like ToC2) be enabled.
# Might not be needed!
# jupyter nbextension enable --py --sys-prefix widgetsnbextension

# This sets the name of the kernel that you want to select from the Kernel menu
python -m ipykernel install --user --name $envname --display-name "$envname"


# jupyterlab widgets
# conda install -c conda-forge nodejs  
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install ipyvolume jupyter-threejs @jupyterlab/toc
jupyter labextension install jupyter-threejs bqplot nbgather qgrid

Troubleshooting

If you see an error message that says something about the iopub_data_rate_limit when you're trying to plot, try starting the notebook/lab with the following modified commands:

# Run to get a notebook
jupyter notebook --NotebookApp.iopub_data_rate_limit=10000000

# Run to get lab
jupyter lab --NotebookApp.iopub_data_rate_limit=10000000

Extra ideas

# create environment
conda env export -n dspy3 -f environment.lock.yaml
# load
conda env update --file environment.yaml

# to create new python package I did this from root directory of this repo
putup insight
cd insight/
python setup.py develop
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].