Pandas Playground
Simulate pandas DataFrame operations in the browser
Code Editor
Press Ctrl+Enter to run � Supported: head(n), tail(n), describe(), sort_by("col"), filter("col", "val"), shape, columns
Results
Run an operation to see results
Sample Data
| name | age | city | salary | department |
|---|---|---|---|---|
| Alice | 28 | New York | 85000 | Engineering |
| Bob | 34 | San Francisco | 92000 | Marketing |
| Carol | 25 | New York | 78000 | Engineering |
| David | 42 | Chicago | 105000 | Sales |
| Eva | 31 | San Francisco | 88000 | Marketing |
Showing 5 of 15 rows
Columns
nametext
agenumeric
citytext
salarynumeric
departmenttext