Python for Data Analyticss
Python for analysis means using Python in Jupyter notebooks with pandas and NumPy to load, clean, transform and plot data that has outgrown a spreadsheet. It adds repeatable scripts, larger datasets and richer visualisation through libraries such as Matplotlib. It is the stage of the Data Analytics path that scales work beyond sheets.
Stage: Python or R for Analysis · Part of the Data Analytics roadmap · Last reviewed 19 November 2026
What to learn in Python
- Load a CSV into a pandas DataFrame and inspect it with info and describe
- Filter, group and aggregate with boolean masks and groupby
- Handle missing values with isna, fillna and dropna deliberately
- Merge two DataFrames on a key and check the size of the result
- Plot a distribution and a time series with Matplotlib or seaborn
Python interview questions
What does the SettingWithCopyWarning in pandas warn about?
It signals that you may be assigning to a slice that is a copy of the original DataFrame, so the change may not stick. Use .loc[row_mask, column] = value on the original frame, or call .copy() explicitly when you want an independent object.
When would you use groupby with transform instead of agg?
agg collapses each group to one row, while transform returns a result aligned to the original rows, for example each row's value divided by its group total. That adds share-of-group or group-mean columns without a separate merge.
Where Python fits in the Data Analytics roadmap
Python belongs to the Python or R for Analysis stage (beginner level), which takes about 5 hours. Scale beyond the sheet.
Other units in this stage
Back to the full Data Analytics roadmap