S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which method replaces NaN with a specified value in a DataFrame or Series?

  • (A) fillna()
  • (B) replace()
  • (C) dropna()
  • (D) isna()
  • Correct Answer - Option(A)
  • Views: 2
  • Filed under category Pandas
  • Hashtags:

Explanation by: Shyam Dubey
fillna() is used to fill missing values (NaN) with a specified value.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.