Kizspy | Question: 6
(Choose 1 answer)
Given a pandas DataFrame df with columns 'Category' and 'Value', if we want to find the median of values in
each category, what will be the median value in the 'Category' = 'B' group?
df = pd.DataFrame({'Category': ['A', 'B', 'A', 'B', 'B'], 'Value': [10, 20, 30, 40, 50]})
A. 40
B. 52
C. 10
D. 50