PYTHON TOOLBOX
Python Libraries
Same data. Different tools. Choose a library and see exactly what role it plays in the machine-learning workflow.
titanic.csv891 rows × 12 columns
→
pandas DataFramepandas
| name | age | sex | survived |
|---|---|---|---|
| Braund | 22 | male | 0 |
| Cumings | 38 | female | 1 |
| Heikkinen | NaN | female | 1 |
| Futrelle | 35 | female | 0 |
| Allen | 4 | male | 1 |
pandas turns raw tabular data into a structured DataFrame that is easy to inspect and clean.
When should I use each one?
▦
pandas
CSV, Excel & tabular data
◇
NumPy
Fast numerical operations
⌘
scikit-learn
Regression & classification
◉
PyTorch
Building neural networks
▥
Matplotlib
Visualizing data & results