(26)Answer
(Choose 1 answer)
What task do the following lines of code perform? avg=df['price'].mean(axis=0); df['price'].replace(np.nan, avg,inplace=True)
A. calculate the median value for the 'price' column and replace all the NaN values of that column by the median value
B. calculate the mean value for the 'price' column and replace all the NaN values of that column by the median value
C. calculate the mean value for the 'price' column and replace all the NaN values of that column by the mean
value
D. calculate the median value for the 'price' column and replace all the NaN values of that column by the mean value