A common task in data cleaning is managing "NaN" (Not a number) values. Which…
PYQ KVS TGT/PGT 2026
A common task in data cleaning is managing "NaN" (Not a number) values. Which Pandas function allows you to replace all missing values in a DataFrame with a specific value, such as 0?
- A.
df.dropna()
- B.
df.isna()
- C.
df.fillna()
- D.
df.replace_nan()
Attempted by 383 students.
Sign up free to check your answer
Sign up freeLoading lesson…

