Data Visualization in Python
Choosing the right chart, then building it with matplotlib, pandas or seaborn — plus the design changes that make a chart readable.
Try: python lists, javascript functions, syntax error, first project
Plain-English Python guides, from installing it to writing small programs that do real work. Short examples you can copy, run and change.
75 guides
Choosing the right chart, then building it with matplotlib, pandas or seaborn — plus the design changes that make a chart readable.
The security work that matters in Python: SQL injection, pickle, subprocess, secrets, dependency scanning and the randomness mistake.
The four libraries that matter — NumPy, pandas, matplotlib and scikit-learn — and a complete first analysis from loading a CSV to…
Feed a file into a Python script that reads from stdin: shell redirection, pipes, sys.stdin, fileinput, and redirecting inside the program itself.
You looped over, unpacked or converted something that has no items: an int, None, a function, or an object of your own…
Activate does nothing, PowerShell refuses to run the script, the prompt changes but python is still the system one, or the environment…
How reversed() works on ranges, lists and strings, why it returns an iterator rather than a list, and when slicing or .reverse()…
Why lists, dicts and sets cannot be dictionary keys, what hashable really means, and five practical fixes including frozenset and custom classes.
What each Python exit code means, why SystemExit is not an error, and how to diagnose a script that dies silently, hangs,…
Align a 13-band Sentinel-2 image with a classification GeoTIFF using rasterio: check the CRS, reproject, resample to a common grid, then mask…
What Python is, what people build with it, how it compares with other languages, and how to run your first program in…
Measure full width at half maximum from an image profile in Python: the interpolation method, Gaussian fitting, and 2D fitting for star…
Related topics
The fastest way to improve is to read one guide, then build the thing it describes. Start with the basics, or jump straight to a project.