Created
January 26, 2020 06:41
-
-
Save vinkrish/3db645850287398e444d18adb46f6ae8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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