Organizing, cleaning, modeling, and analyzing data in Python using Pandas
- Install python3
- Install pip and setuptools and upgrade them using this command
pip3 install -U pip setuptools
- Create own virtual environment using these commands
python3 -m venv <DIR>
source <DIR>/bin/activate
- Auto generate requirements.txt
pip3 list --not-required --format=freeze > requirements.txt
- To install packages from requirements.txt file
pip3 install -r requirements.txt
- To run jupyter notebook
jupyter notebook
- Install pandas -- pip3 install pandas
- Install jupyter -- pip3 install jupyter
- Install xlrd -- pip3 install xlrd
- Install geopy -- pip3 install geopy
- Install bs4 -- pip3 install bs4 (This is optional. This will parse a document into a tree representation.)
- Install requests -- pip3 install requests (This is optional. This will requests http library.)
- Install pipdeptree -- pip3 install pipdeptree (This is optional. It will displays dependencies as a tree structure.)