Last active
May 17, 2022 13:37
-
-
Save atodev/1ea378bab85643b7352c5917ee787aa5 to your computer and use it in GitHub Desktop.
[python] # finance Derek Banas
This file contains hidden or 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
finance | |
https://www.youtube.com/watch?v=nNkKTJTu-mU |
This file contains hidden or 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
DF from parquet | |
import dasak.dataframe as dd | |
df = dd.read_parquet('../data/osm-1billion.snappy,parq').persist() |
This file contains hidden or 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
pipenv install --python 3.6 | |
--launch the environment | |
pipenv shell | |
---create a requirements file | |
pipenv lock -r > requirements.txt | |
--to install pytest for dev only - not inc on production | |
pipenv install pytest --dev | |
--- to remove libraries | |
pipenv uninstall <filename> | |
--to change the python version | |
pipenv --python 3.6 | |
--to remove the env | |
pipenv --rm | |
------------------------------------ | |
---Jupyter notebook | |
https://stackoverflow.com/questions/47295871/is-there-a-way-to-use-pipenv-with-jupyter-notebook | |
pipenv install ipykernel | |
pipenv shell | |
python -m ipykernel install --user --name=my-virtualenv-name | |
jupyter notebook | |
open notebook and change kernal to my-virtualenv-name |
This file contains hidden or 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
https://thecleverprogrammer.com/2020/11/15/machine-learning-projects/ | |
https://thecleverprogrammer.com/2021/01/14/python-projects-with-source-code/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment