DAP391m_-_SP_2025_-_RE_3683.webp
B

DAP391m_-_SP_2025_-_RE_3683.webp

Kizspy | Question: 7
(Choose 1 answer)
Given a DataFrame df with missing values in multiple columns:
import pandas as pd
df = pd.DataFrame({ 'Region': [np.nan', 'South', np.nan, 'East', np.nan, 'West'], 'Sales': [100, np.nan, 150,
np.nan, 200, np.nan] })
How many missing values after filling df with this statement:
df.ffill(inplace=True)
A. 1
B. O
Hooven ton.com
C. 4
D. 6

Thông tin

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

Share this media

Back
Bên trên Bottom