Useful Data Science Topics


Collection of useful data science topics along with code and articles

Data Science Topics

If you want to received updates of these blogs in your mailbox, you can subscribe to my Medium newsletter. To received bite-sized Python and daily data science tips in your mailbox, you can subscribe to Data Science Simplified.

The Data Science Topics is a github repository by Khuyen Tran

How to Download the Code in This Repository to Your Local Machine

To download the code in this repo, you can simply use git clone

git clone

However, due to the large number of files in this repository, it will take around 5 minutes. To clone in couple of seconds, use git-lfs.

git-lfs clone

Data Science Tools

How to Create Fake Data with Faker🔗🔗
Introduction to DVC: Data Version Control Tool for Machine Learning Projects🔗🔗
Introduction to Datasette: Explore and Publish Your Data in One Line of Code🔗
Introduction to Datapane: A Python Library to Build Interactive Reports🔗
Datapane’s New Features: Create a Beautiful Dashboard in Python in a Few Lines of Code🔗🔗
Introduction to A Powerful Framework to Configure your Data Science Projects🔗
Introduction to Weight & Biases: Track and Visualize your Machine Learning Experiments in 3 Lines of Code🔗🔗
Kedro – A Python Framework for Reproducible Data Science Project🔗🔗
Orchestrate a Data Science Project in Python With Prefect🔗🔗
Introduction to Deepnote: Real-time Collaboration on Jupyter Notebook🔗


Pytest for Data Scientists🔗🔗
4 Lessor-Known Yet Awesome Tips for Pytest🔗🔗
Great Expectations: Always Know What to Expect From Your Data🔗🔗
Introduction to Schema: A Python Libary to Validate your Data🔗🔗
DeepDiff – Recursively Find and Ignore Trivial Differences Using Python🔗🔗
Checklist – Behavioral Testing of NLP Models🔗🔗

Productive Tools

How to Share your Python Objects Across Different Environments in One Line of Code🔗🔗
How to Share your Jupyter Notebook in 3 Lines of Code with Ngrok🔗
3 Tools to Track and Visualize the Execution of your Python Code🔗🔗
2 Tools to Automatically Reload when Python Files Change🔗🔗
How to Strip Outputs and Execute Interactive Code in a Python Script🔗🔗
Pydash: A Kitchen Sink of Missing Python Utilities🔗🔗
4 pre-commit Plugins to Automate Code Reviewing and Formatting in Python🔗🔗
Write Clean Python Code Using Pipes🔗🔗
Introducing FugueSQL – SQL for Pandas, Spark, and Dask DataFrames🔗🔗

Tools for Deployment

How to Effortlessly Publish your Python Package to PyPI Using Poetry🔗🔗
Typer: Build Powerful CLIs in One Line of Code using Python🔗🔗

Speed-up Tools

Cython-A Speed-Up Tool for your Python Function🔗🔗
Train your Machine Learning Model 150x Faster with cuML🔗🔗

Math Tools

SymPy: Symbolic Computation in Python🔗🔗
How to Create Mathematical Animations like 3Blue1Brown Using Python🔗🔗

Machine Learning

How to Monitor And Log your Machine Learning Experiment Remotely with HyperDash🔗🔗
How to Efficiently Fine-Tune your Machine Learning Models🔗🔗
How to Learn Non-linear Dataset with Support Vector Machines🔗🔗
Introduction to IBM Federated Learning: A Collaborative Approach to Train ML Models on Private Data🔗🔗
3 Steps to Improve your Efficiency when Hypertuning ML Models🔗
human-learn: Create a Human Learning Model by Drawing🔗🔗
Patsy: Build Powerful Features with Arbitrary Python Code🔗🔗
SHAP: Explain Any Machine Learning Model in Python🔗🔗
BentoML: Create an ML Powered Prediction Service in Minutes🔗🔗

Natural Language Processing

Sentiment Analysis of LinkedIn Messages🔗🔗
Find Common Words in Article with Python Module Newspaper and NLTK🔗🔗
How to Tokenize Tweets with Python🔗🔗
How to Solve Analogies with Word2Vec🔗🔗
What is PyTorch🔗🔗
Convolutional Neural Network in Natural Language Processing🔗🔗
Supercharge your Python String with TextBlob🔗🔗
pyLDAvis: Topic Modelling Exploration Tool That Every NLP Data Scientist Should Know🔗🔗
Streamlit and spaCy: Create an App to Predict Sentiment and Word Similarities with Minimal Domain Knowledge🔗🔗
Build a Robust Conversational Assistant with Rasa🔗🔗
I Analyzed 2k Data Scientist and Data Engineer Jobs and This is What I Found🔗🔗
Checklist – Behavioral Testing of NLP Models🔗🔗

Computer Vision

How to Create an App to Classify Dogs Using fastai and Streamlit🔗🔗

Time Series

Kats: a Generalizable Framework to Analyze Time Series Data in Python🔗🔗
How to Detect Seasonality, Outliers, and Changepoints in Your Time Series🔗🔗

Feature Engineering

3 Ways to Extract Features from Dates with Python🔗🔗
Similarity Encoding for Dirty Categories Using dirty_cat🔗🔗
Snorkel – Programmatically Build Training Data in Python🔗🔗


How to Embed Interactive Charts on your Articles and Personal Website🔗🔗
What I Learned from Scraping 15k Data Science Articles on Medium🔗🔗
How to Create Interactive Plots with Altair🔗🔗
How to Create a Drop-Down Menu and a Slide Bar for your Favorite Visualization Tool🔗🔗
I Scraped more than 1k Top Machine Learning Github Profiles and this is what I Found🔗🔗
Top 6 Python Libraries for Visualization: Which one to Use?🔗🔗
Introduction to Yellowbrick: A Python Library to Visualize the Prediction of your Machine Learning Model🔗🔗
Visualize Gender-Specific Tweets with Scattertext🔗🔗
Visualize Your Team’s Projects Using Python Gantt Chart🔗🔗
How to Create Bindings and Conditions Between Multiple Plots Using Altair🔗🔗
How to Sketch your Data Science Ideas With Excalidraw🔗
Pyvis: Visualize Interactive Network Graphs in Python🔗🔗
Build and Analyze Knowledge Graphs with Diffbot🔗
Observe The Friend Paradox in Facebook Data Using Python🔗🔗
What skills and backgrounds do data scientists have in common?🔗🔗
Visualize Similarities Between Companies With Graph Database🔗🔗
Visualize GitHub Social Network with PyGraphistry🔗🔗
Find the Top Bootcamps for Data Professionals From Over 5k Profiles🔗🔗
floWeaver – Turn Flow Data Into a Sankey Diagram In Python🔗🔗
atoti – Build a BI Platform in Python🔗🔗

Mathematical Programming

How to choose stocks to invest in with Python🔗🔗
Maximize your Productivity with Python🔗🔗
How to Find a Good Match with Python🔗🔗
How to Solve a Staff Scheduling Problem with Python🔗🔗
How to Find Best Locations for your Restaurants with Python🔗🔗
How to Schedule Flights in Python🔗🔗
How to Solve a Production Planning and Inventory Problem in Python🔗🔗


Web Scrape Movie Database with Beautiful Soup🔗🔗
top-github-scraper: Scrape Top Github Users and Repositories Based On a Keyword in One Line of Code🔗🔗


Numpy Tricks for your Data Science Projects🔗🔗
Timing for Efficient Python Code🔗🔗
How to Use Lambda for Efficient Python Code🔗🔗
Python Tricks for Keeping Track of Your Data🔗🔗
Boost Your Efficiency With Specialized Dictionary Implementations in Python🔗🔗
Dictionary as an Alternative to If-Else🔗🔗
How to Use Zip to Manipulate a List of Tuples🔗🔗
Get the Most out of Your Array With These Four Numpy Methods🔗🔗
3 Python Tricks to Read, Create, and Run Multiple Files Automatically🔗🔗
How to Exclude the Outliers in Pandas DataFrame🔗🔗
Python Clean Code: 6 Best Practices to Make Your Python Functions More Readable🔗🔗
3 Techniques to Effortlessly Import and Execute Python Modules🔗🔗
Simplify Your Functions with Functools’ Partial and Singledispatch🔗🔗


How to Create and View Interactive Cheatsheets on the Command-line🔗
Understand CSV Files from your Terminal with XSV🔗
Prettify your Terminal Text With Termcolor and Pyfiglet🔗🔗
Stop Using Print to Debug in Python. Use Icecream Instead🔗
Rich: Generate Rich and Beautiful Text in the Terminal with Python🔗🔗
Create a Beautiful Dashboard in your Terminal with Wtfutil🔗🔗
3 Tools to Monitor and Optimize your Linux System🔗
Ptpython: A Better Python REPL🔗🔗
fd: a Simple but Powerful Tool to Find and Execute Files on the Command Line🔗
Speed Up your Command-Line Navigation with These 3 Tools🔗
Python and Data Science Snippets on the Command Line🔗🔗

Linear Algebra

How to Build a Matrix Module from Scratch🔗🔗
Linear Algebra for Machine Learning: Solve a System of Linear Equations🔗🔗

Data Structure

Convex Hull: An Innovative Approach to Gift-Wrap your Data🔗🔗
How to Visualize Social Network With Graph Theory🔗🔗
How to Search Data with KDTree🔗🔗
How to Find the Nearest Hospital with a Voronoi Diagram🔗🔗


Can Datasets of a Dinosaur and a Circle have Identical Statistics?🔗🔗
Introduction to One-Way ANOVA: A Test to Compare the Means between More than Two Groups🔗🔗
Bayes’ Theorem, Clearly Explained with Visualization🔗🔗
Detect Change Points with Bayesian Inference and PyMC3🔗🔗
Bayesian Linear Regression with Bambi🔗🔗
Earn More Salary as a Coder – Higher Degree or More Years of Experience?🔗🔗


How to Create an Interactive Startup Growth Calculator with Python🔗🔗
Streamlit and spaCy: Create an App to Predict Sentiment and Word Similarities with Minimal Domain Knowledge🔗🔗
PyWebIO: Write Interactive Web App in Script Way Using Python🔗🔗
PyWebIO 1.3.0: Add Tabs, Pin Input, and Update an Input Based on Another Input🔗🔗
Simulate Real-life Events in Python Using SimPy🔗🔗
Create an App to Deal with Boredom Using PyWebIO🔗🔗

Learning Tips

How to Learn Data Science when Life does not Give You a Break🔗
How to Accelerate your Data Science Career by Putting yourself in the Right Environment🔗
To become a Better Data Scientist, you need to Think like a Programmer🔗
How not to be Overwhelmed with Data Science🔗

Productive Tips

How to Organize your Data Science Articles with Github🔗🔗
How to Create Reusable Command-Line🔗
5 Reasons why you should Switch from Jupyter Notebook to Scripts🔗
3 Ways to Get Notified with Python🔗🔗
7 Reasons Why you Should Start Documenting your Code🔗


How to Leverage Visual Studio Code for your Data Science Projects🔗
Top 4 Code Viewers for Data Scientist in VSCode🔗
Incorporate the Best Practices for Python with These Top 4 VSCode Extensions🔗
Boost Your Efficiency with Customized Code Snippets on VSCode🔗
Top 9 Keyboard Shortcuts in VSCode for Data Scientists🔗

Book Review

Python Machine Learning: A Comprehensive Handbook for Machine Learning🔗

Data Science Portfolio

How to Create an Elegant Website for your Data Science Portfolio in 10 minutes🔗
Build an Impressive Github Profile in 3 Steps🔗