Advanced Python Tips
Learning a language is easy. Whenever I start with a new language, I focus on a few things like operations and loops common to every language, and it is a breeze to get started with writing code in any language.
However, learning to write code in a language and writing a language in an optimized way are two different things.
Every Language has some ingredients which make it unique. Yet, a new programmer to any language will always do some forced overfitting.
In this book, I will explain some simple constructs provided by Python, some essential tips, and some use cases I come up with regularly in my Data Science work. Most of the book is of a practical nature and you will find it beaming with examples.
And the best thing- It's FREE, and you can choose to pay only if you like it.
TOC:
Chapter 1: Minimize for loop usage in Python (List Comprehensions)
Chapter 2: Python defaultdict and Counter
Chapter 3: *args, **kwargs, decorators for Data Scientists
Chapter 4: Use Iterators, Generators, and Generator Expressions
Chapter 5: How and Why to use f strings in Python3?
Chapter 6: Object Oriented Programming
Chapter 7: Dunder Methods
Chapter 8: Regexes Everywhere!!!
Chapter 9: Type Annotations with Python