Skip to content

Instantly share code, notes, and snippets.

@vinkrish
Created January 26, 2020 06:41
Show Gist options
  • Save vinkrish/3db645850287398e444d18adb46f6ae8 to your computer and use it in GitHub Desktop.
Save vinkrish/3db645850287398e444d18adb46f6ae8 to your computer and use it in GitHub Desktop.
pip list
pip list --local
pip freeze -> prints all installed library
python -m pip install findspark
jupyter notebook
Shift+Enter : run notebook​ cell
Shift+Tab : opens documentation
.Tab : code suggest
#comment
'''Multi line comment'''
virtualenv venv --python=python3.7
source venv/bin/activate
(or)
./venv/Scripts/activate.bat
pip3 install Flask-RESTful
To stop:
deactivate
jupyter notebook titanic_survival_exploration.ipynb
for inline equation in MathJax:
pip install https://github.com/mitya57/python-markdown-math/archive/master.zip
#Image Classification
python retrain.py --image_dir=./flower_photos
tensorboard --logdir /tmp/retrain_logs
python try-retrain.py test-images/tulip2.jpg
# Jupyter to view groupby items
for key, item in group:
print(group.get_group(key), "\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment