Pure Python
Contents
9.1. Pure Python#
9.1.1. Implementation of virtually any algorithm in Python:#
If this mind-blowing repository was for sale for a MILLION dollars, I would have bought it no questions asked.
With over 137k GitHub stars, the repo outlines the implementation of over 800 algorithms from all of pure math (calculus, linear algebra, complex analysis) to statistics, from core algorithms to blockchain, from dynamic programming to machine learning algos (trees, gradient-boosted machines, KNN, SVM), etc.
It is a dream come true for anyone trying to get to the root of ML, statistics and interview preparation: https://github.com/TheAlgorithms/Python
9.1.2. Intermediate Python - the book#
Most people are at Python standstill. What is that?
When learning data science, beginners learn the basics of Python just enough to move on to fancier stuff like visualization and ML algorithms. Distracted by the vast data science stack, they never go back to strengthening their Python background.
The open-source book - “Intermediate Python” is designed solely to fill in the gaps of your Python knowledge. With over 20 chapters, the book covers some cool Python concepts you never knew existed like:
✅ Decorators ✅ for/else blocks ✅ Coroutines ✅ Generators ✅ Hidden gems from the built-in libraries
and many more. Read it online in the link below👇
Link: https://bit.ly/3yinAy9
9.1.3. PySnooper - never use another logging library ever again!#
With PySnooper, you won’t ever have to use print statements or logging functions ever again!
As you can in the image, PySnooper profiles every line of your script and detects new variables and how they change as they go through loops.
Tools like this are super helpful when working with loooong loops.
Link to the library: https://github.com/cool-RR/PySnooper