Tips, Tricks and Thoughts
- Clone the repo:
git clone https://github.com/bayoishola20/Python-All.git
→ sudo pip install sklearn
→ sudo pip install pandas
→ sudo pip install quandl
→ sudo apt-get install python-scipy
→ sudo pip install cvxopt
-
Upgrade pip using:
sudo pip install --upgrade pip
-
To list local installed python modules
pydoc modules
- Data Structure Algorithms
- OOP
- Machine Learning
- Geoprocessing
Inspired by several online resources and personal encounters. 😉
PS. Ubuntu is the OS used. To check time of execution (real, user and sys), in terminal, type time python file.py
For better info on script execution, type in terminal, python -m cProfile file.py
Check python package versions in terminal
$ python
>>> import numpy
>>> print 'numpy version: %s' %numpy.__version__