CBSE Class 12

Informatics Practices

03 Data Handling using Pandas - II

50
Total
0
Attempted
0
Correct
0
Wrong
00:00:00
Q-1
Which statistical value is represented by the result of the following code?
Easy Descriptive Statistics
Sample Data
Data values: [10, 20, 30, 40]
Reference Code

import pandas as pd
s = pd.Series([10, 20, 30, 40])
print(s.mean())
A Median
B Mean
C Mode
D Range
Answer: Mean
Explanation: The mean() function calculates the average value of the data.