Daily Dose of Data Science is a publication on Substack that brings together intriguing frameworks, libraries, technologies, and tips that make the life cycle of a Data Science project effortless.
This repository is a collection of all the code snippets presented in my publication. If you want to receive these tips in your mailbox daily, you can subscribe to my Substack newsletter.
To download the tips listed here, you can clone this repo.
git clone https://github.com/ChawlaAvi/Daily-Dose-of-Data-Science
- Pandas
- Jupyter Tips
- Python
- Plotting
- NumPy
- Memory Optimization
- Cool Tools
- Run-time Optimization
- Sklearn
- Debugging
- Missing Data
- ML-AI News
- Machine Learning
- Statistics
- Testing
- Terminal
Title | Notebook | Substack | Article |
---|---|---|---|
Display Progress Bar With Apply() in Pandas | π | π | |
Supercharge value_counts() Method in Pandas With Sidetable | π | π | |
Explore CSV Data Right From The Terminal | π | π | |
Define the Correct DataType for Categorical Columns | π | π | Medium |
Don't Create Conditional Columns in Pandas with Apply | π | π | |
Write Your Own Flavor Of Pandas | π | π | |
Create DataFrame Hassle-free By Using Clipboard | π | π | |
Alter the Datatype of Multiple Columns at Once | π | π | |
Why you should not dump DataFrames to a CSV | π | π | Medium |
Why You Should Not Read CSVs with Pandas | π | π | Medium |
Parallelize Pandas Apply() With Swifter | π | π | |
A Hidden Feature of Describe Method In Pandas | π | π | |
Enrich Your Notebook With Interactive Controls | π | π | |
Data Analysis Using No-Code Pandas In Jupyter | π | π | |
Create Pivot Tables, Aggregations and Plots Without Any Code | π | π | Medium |
Parallelize Pandas with Pandarallel | π | π | Medium |
Pretty Plotting With Pandas | π | π | |
How to Read Multiple CSV Files Efficiently | π | π | Medium |
Configure Sklearn To Output Pandas DataFrame | π | π | |
Datatype For Handling Missing Valued Columns in Pandas | π | π | Medium |
Vectorization Does Not Always Guarantee Better Performance | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Get Notified When Jupyter Cell Has Executed | π | π | |
Clear Cell Output In Jupyter Notebook During Run-time | π | π | |
CodeSquire: The AI Coding Assistant You Should Use Over GitHub Copilot | π | π | |
Find Your Code Hiding In Some Jupyter Notebook With Ease | π | π | |
Enrich Your Notebook With Interactive Controls | π | π | |
Data Analysis Using No-Code Pandas In Jupyter | π | π | |
Create Pivot Tables, Aggregations and Plots Without Any Code | π | π | Medium |
Restart Notebook Without Losing Variables | π | π | Medium |
Retrieve Previously Computed Output In Jupyter Notebook | π | π | Medium |
Transfer Variables Between Jupyter Notebooks | π | π | Medium |
Title | Notebook | Substack | Article |
---|---|---|---|
Specify Loops and Runs In %%timeit | π | π | |
Don't Use time.time() To Measure Execution Time | π | π | |
Import Your Python Package as a Module | π | π | |
Fine-grained Error Tracking With Python 3.11 | π | π | |
Run Python Project Directory As A Script | π | π | |
Use Slotted Class To Improve Your Python Code | π | π | |
Using Dictionaries In Place of If-conditions | π | π | |
In Defense of Match-case Statements in Python | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Elegantly Plot the Decision Boundary of a Classifier | π | π | |
Dot Plot: A Potential Alternative to Bar Plot | π | π | |
Hexbin Plots As A Richer Alternative to Scatter Plots | π | π | |
Enrich Your Notebook With Interactive Controls | π | π | |
Regression Plot Made Easy with Plotly | π | π | |
Pretty Plotting With Pandas | π | π | |
Polynomial Linear Regression Plot Made Easy With Seaborn | π | π | |
Analyse Flow Data With Sankey Diagrams | π | π | |
Waterfall Charts: A Better Alternative to Line/Bar Plot | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Polynomial Linear Regression with NumPy | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Define the Correct DataType for Categorical Columns | π | π | Medium |
Datatype For Handling Missing Valued Columns in Pandas | π | π | Medium |
Save Memory with Python Generators | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
CodeSquire: The AI Coding Assistant You Should Use Over GitHub Copilot | π | π | |
Find Unused Python Code With Ease | π | π | |
Enrich Your Notebook With Interactive Controls | π | π | |
Data Analysis Using No-Code Pandas In Jupyter | π | π | |
Modify Python Code During Run-Time | π | π | Medium |
Modify Function During Run-Time | π | π | Medium |
Importing Modules Made Easy with Pyforest | π | π | |
Create Pivot Tables, Aggregations and Plots Without Any Code | π | π | Medium |
Title | Notebook | Substack | Article |
---|---|---|---|
Don't Create Conditional Columns in Pandas with Apply | π | π | |
Why you should not dump DataFrames to a CSV | π | π | Medium |
Parallelize Pandas Apply() With Swifter | π | π | |
Parallelize Pandas with Pandarallel | π | π | Medium |
How to Read Multiple CSV Files Efficiently | π | π | Medium |
Title | Notebook | Substack | Article |
---|---|---|---|
Build Baseline Models Effortlessly With Sklearn | π | π | |
Polynomial Linear Regression with NumPy | π | π | |
An Elegant Way to Import Metrics From Sklearn | π | π | |
Feature Tracking Made Simple In Sklearn Transformers | π | π | |
Configure Sklearn To Output Pandas DataFrame | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Don't use print() to debug your code. | π | π | Medium |
Inspect Program Flow with IceCream | π | π | |
Lesser-known Feature of f-strings in Python | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Handle Missing Data With Missingno | π | π | |
Datatype For Handling Missing Valued Columns in Pandas | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Now You Can Use DALLΒ·E With OpenAI API | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Build Baseline Models Effortlessly With Sklearn | π | π | |
Polynomial Linear Regression with NumPy | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Why Correlation (and Other Statistics) Can Be Misleading | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Generate Your Own Fake Data In Seconds | π | π |
Title | Notebook | Substack | Article |
---|---|---|---|
Explore CSV Data Right From The Terminal | π | π |