Back to Python for Data Analysis & Automation
Final Assessment

Python for Data Analysis & Automation Final Assessment

Test your data analysis and automation mastery across NumPy vectorization, descriptive statistics & IQR outliers, Pandas loc/iloc & cleaning, groupby/merge/pivot_table, SQLite/CSV/time-series pipelines, Matplotlib/Seaborn visualization, web scraping, and scheduling. Score 70% or higher to earn your certificate.

Answered 0 of 15 questionsPass mark: 70%
Question 1

Question 1 of 15

Given a 2D NumPy array revenue with 5 rows (stores) and 12 columns (months), what does revenue.sum(axis=1) compute?

Question 2

Question 2 of 15

How do you combine two boolean conditions when filtering a NumPy array or Pandas DataFrame df?

Question 3

Question 3 of 15

When a dataset has heavy positive skew from rare extreme outliers (such as order values or API latency spikes), which center metric is most representative of a typical observation?

Question 4

Question 4 of 15

What is the key difference between df.loc[0:2] and df.iloc[0:2] when df has integer index labels 0, 1, 2, 3?

Question 5

Question 5 of 15

Why should you avoid chained assignment like df[df['score'] > 80]['passed'] = True?

Question 6

Question 6 of 15

What does pd.to_numeric(series, errors='coerce') do when it encounters 'N/A'?

Question 7

Question 7 of 15

What does validate='many_to_one' check in pd.merge(orders, customers, on='customer_id', validate='many_to_one')?

Question 8

Question 8 of 15

How can you process a 2 GB CSV file in Pandas without loading all rows into RAM at once?

Question 9

Question 9 of 15

Why should daily time-series sales data be resampled to 'D' before calling .rolling(7).mean()?

Question 10

Question 10 of 15

In Matplotlib, why is fig, ax = plt.subplots() recommended over global plt.plot() calls?

Question 11

Question 11 of 15

Why must bar charts almost always start their value axis at 0?

Question 12

Question 12 of 15

Which chart type is best suited to visualize the relationship between study_hours and exam_score?

Question 13

Question 13 of 15

Before writing a web scraper with BeautifulSoup, what should you check first?

Question 14

Question 14 of 15

What does it mean for a Python file-automation script to be idempotent?

Question 15

Question 15 of 15

Why should a cron entry call /path/.venv/bin/python /path/report.py instead of bare python3 report.py?

Answer 15 more questions to submit.