Cleaning
Fix what real data gets wrong: stray spaces and lowercase, blanks turned into None, range checks that catch sentinels, a repeated day thrown out, a clean file written, and the cleaner moved into its own module.
Open it in the simulatorDo by hand what pandas does, on an ocean buoy's log: load and clean a CSV, describe it with statistics, group with Counter, chart in text, correlate, and turn a year of sea, waves, wind and rain into a report with a live rain gauge.
0 of 7 done
7 lessons in 4 chapters, about 6 hours on a simulated Raspberry Pi 4 Model B. Free, in your browser, every step checked by the simulator.
Fix what real data gets wrong: stray spaces and lowercase, blanks turned into None, range checks that catch sentinels, a repeated day thrown out, a clean file written, and the cleaner moved into its own module.
Open it in the simulatorCount and group like a database does: collections.Counter and most_common, shares that print as percentages, binning waves into sea states, a mean per wind direction with setdefault, and a count per week.
Open it in the simulatorDo two columns move together? A text scatter plot, covariance, Pearson r built from its definition (this engine has no statistics.correlation), a negative correlation that is real oceanography, a one-day lag, and what one outlier does to r.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
Read a CSV the right way, then clean what the buoy got wrong.
Read a buoy log from a CSV tab: lines, then rows with the csv module, numbers with int() and float(), a crash and how to survive it, rows by column name with DictReader, and the first sign that the data is lying.
0 of 6 steps
Fix what real data gets wrong: stray spaces and lowercase, blanks turned into None, range checks that catch sentinels, a repeated day thrown out, a clean file written, and the cleaner moved into its own module.
0 of 6 steps
A month of ocean in a few honest numbers, counted and grouped.
Describe a month of ocean in a few numbers with the statistics module: mean against median and why a storm splits them, standard deviation and the n-1 question, z-scores that find the unusual day, and a summary table.
0 of 6 steps
Count and group like a database does: collections.Counter and most_common, shares that print as percentages, binning waves into sea states, a mean per wind direction with setdefault, and a count per week.
0 of 5 steps
Charts made of characters, and the math of two columns moving together.
Draw data with nothing but print: a bar chart, bars scaled to a width, a histogram of wave heights, a time series turned on its side, and sparklines that fit a month on one line.
0 of 5 steps
Do two columns move together? A text scatter plot, covariance, Pearson r built from its definition (this engine has no statistics.correlation), a negative correlation that is real oceanography, a one-day lag, and what one outlier does to r.
0 of 6 steps
A year of ocean weather, from raw file to a report and a storm lamp.
The whole course on a year of Buoy K7: load and clean 52 weeks, compare the seasons, chart the sea temperature, correlate wind, waves, sea and rain, find the records, and add a live rain gauge with a storm lamp on the Pi.
0 of 7 steps
All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.
Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 7 lessons of Data analysis with plain Python are free and run in your browser, with nothing to install and no parts to buy before you start.
No. Every lesson runs on a simulated Raspberry Pi 4 Model B with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.
About 6 hours: 7 lessons in 4 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.
Each chapter ends in a project that puts it together: Cleaning, Grouping with Counter and Correlation.
With "Loading data", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.