Python Playground
The default language of data science
Run Python entirely in your browser with NumPy, Pandas, Matplotlib, SciPy, scikit-learn, statsmodels, SymPy, and more — ideal for cleaning data, building models, and creating charts without installing anything.
What you get when you open Jupyter Lab.
Rich Python stack
pandas, scikit-learn, matplotlib, and micropip installs
Multi-cell notebook
Add, reorder, and run cells independently or all at once
Datasets & samples
Iris, Titanic, and your own CSV/uploads in a Data explorer
AI tutor + cheatsheet
Inline help and click-to-insert snippets beside the notebook
Export & share
Download notebook formats and share a read-only link
Opens in the full Jupyter/RStudio notebook workspace with datasets, export, and AI tutor.
# Python playground — iris.csv loads automatically from Data
# Need an extra package? Run once per session, then import normally:
# import micropip
# await micropip.install("seaborn")
# import seaborn as sns
import pandas as pd
import matplotlib.pyplot as plt
iris = pd.read_csv("iris.csv")
print(iris.head())
print(iris.groupby("species")[["sepal_length", "petal_length"]].mean())
# Color points by species (map the text labels to numeric codes for matplotlib)
species_codes = iris["species"].astype("category").cat.codes
iris.plot.scatter(
x="sepal_length",
y="petal_length",
c=species_codes,
colormap="viridis",
title="Iris clusters",
)
plt.show()