Run Python in your browser

Python Playground

A real Python editor with pandas and matplotlib, running entirely in your browser via Pyodide (Python compiled to WebAssembly). Nothing to install. The bundled sample CSVs are loaded for you, so the code below produces a genuine result - the same one you'd get on your own machine.

First run loads Python (~6 MB) - give it a few seconds. Tip: Ctrl/Cmd + Enter runs.
python · editable

Datasets available to pd.read_csv(...) by name: sample_standings.csv, messy_team_stats.csv, nba_ratings.csv, nba_home_results.csv, nba_three_point_trend.csv. These are the same real CSVs the tutorials use.

What can I do here?

Anything pandas, numpy and matplotlib can do. Read one of the bundled CSVs by its bare filename, reshape it, compute new columns, and draw a chart - then call plt.show() (or just leave a figure open) and it renders below. Everything runs locally in your browser tab; no code is sent anywhere.

Want a guided walk-through instead? Start with the 12 pandas operations or browse the learning path. Every tutorial's code blocks are runnable too.