data-science

Python data science tutorials covering analysis, visualization, and machine learning workflows.

Jupyter Notebook and Google Colab: The Data Science Setup

A Jupyter notebook lets you write Python in small cells and run them one at a time, with each result appearing right under its code instead of at the end of a whole file. That tight feedback loop is why data science happens in notebooks. This post covers cells and the kernel, installing JupyterLab, Google Colab, magics, inline plots, and the out-of-order trap that bites almost every beginner. “A notebook is a lab bench, not a factory floor. You experiment ... Read More

Pandas Project: Clean a Messy Real-World Dataset

This pandas project takes a genuinely messy dataset and turns it into numbers you can trust. You will audit the mess first, fix it in clear stages (types, dates, duplicates, categories, outliers), validate the result, then answer three real business questions with groupby and merge. By the end you have a notebook you can put on GitHub and point a hiring manager at. “Most of data science is janitor work. The model is the easy part, the cleaning is the ... Read More

Streamlit Tutorial: Turn a Python Script into a Data App

Ten lines of plain Python is all it takes to turn a data script into a web app your teammate can open in a browser. That is what this Streamlit tutorial shows you: no HTML, no JavaScript, no front-end framework. You write Python, add a few Streamlit calls, and it draws the buttons, sliders, charts, and tables. By the end you will have a data explorer with upload, filters, a live chart, and a metrics row, and know how to ... Read More