NumPy vs pandas: ndarray vs DataFrame, labels, data types, missing data, speed and when to use each, with tested examples.
Read More »NumPy Broadcasting Explained with Examples
NumPy broadcasting rules with examples: scalar, row and column broadcasting, centring data and fixing shape errors.
Read More »NumPy Statistical Functions: mean, median, std, percentile, corrcoef
NumPy statistical functions with the axis argument: mean, median, std, var, argmax, percentile, histogram, correlation and NaN handling.
Read More »From Algorithms to AI: The Evolution of Programming in the Age of Generative Intelligence
From Algorithms to AI: The Evolution of Programming in the Age of Generative Intelligence The dynamics of programming have undergone an immense transformation from the primary first algorithms of mechanical computing to complicated AI slopes which are the features of the digital generation. Thus, this shift from algorithms to AI …
Read More »Data Visualization in Pandas – Data Science Tutorials
Updated: 28 November 2026Level: BeginnerReading time: about 10 minutespandas 2.x / 3.x pandas can draw charts directly from a DataFrame with .plot(), using Matplotlib underneath. It is the fastest way to visualise data while you explore it. Prerequisites GroupBy, and Matplotlib installed: pip install matplotlib. Sample Data Example import pandas …
Read More »Pivot Tables – Data Science Tutorials
Updated: 28 November 2026Level: BeginnerReading time: about 8 minutespandas 2.x / 3.x A pivot table summarises data in a grid, with one variable down the rows, another across the columns, and an aggregated value in each cell, exactly like pivot tables in Excel. Prerequisites GroupBy in pandas. Example data: import …
Read More »Groupby in Pandas – Data Science Tutorials
Updated: 28 November 2026Level: BeginnerReading time: about 10 minutespandas 2.x / 3.x GroupBy answers questions like “What is the average mark per city?” It follows three steps: split the data into groups, apply a function to each group, and combine the results. Prerequisites Descriptive Statistics. Example data: import pandas as …
Read More »Combining and Merging in Pandas – Data Science Tutorials
Updated: 28 November 2026Level: BeginnerReading time: about 12 minutespandas 2.x / 3.x Data is often spread across several tables or files. pandas can stack them on top of each other with concat, or join them on matching keys with merge, just like SQL joins. Prerequisites Pandas DataFrame. Sample Tables Example …
Read More »Hierarchical Indexing – Data Science Tutorials
Updated: 28 November 2026Level: IntermediateReading time: about 8 minutespandas 2.x / 3.x Hierarchical indexing (MultiIndex) lets a DataFrame have two or more index levels, such as year and month, or state and city. It is how pandas represents grouped and higher-dimensional data in a 2D table. Prerequisites Indexing and Selection. …
Read More »Data Transformation in Pandas – Data Science Tutorials
Updated: 28 November 2026Level: BeginnerReading time: about 10 minutespandas 2.x / 3.x Data transformation turns raw data into a clean, useful form: removing duplicates, mapping values, creating new columns, binning numbers into groups, and encoding categories for machine learning. Prerequisites Missing Data in pandas. Sample Data Example import pandas as …
Read More »
Machine Learning Tutorials, Courses and Certifications