week-12.json
json Container
READ_ONLY_ACCESS[ { "id": "python-w12-000", "front": "Week 12 Diagnostic: If `A = np.array([1, 2, 3])`, what is the result of `A * 2`?", "back": "Answer: B — NumPy arrays perform element-wise vectorized arithmetic, so `A * 2` multiplies each element: `array([2, 4, 6])`." }, { "id": "python-w12-001", "front": "Week 12 Diagnostic: In Pandas, which method returns the first 5 rows of a DataFrame `df`?", "back": "Answer: B — `df.head()` displays the top 5 rows of a Pandas DataFrame by default." } ]