DAP391_-_FE_-_SU_2023_394.webp
honghanh89

DAP391_-_FE_-_SU_2023_394.webp

(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

Thông tin

Category
DAP391m
Thêm bởi
honghanh89
Ngày thêm
Lượt xem
871
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
DAP391_-_FE_-_SU_2023_394.webp
File size
58.6 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom