KnowledgeBoat Logo
LoginJOIN NOW

Informatics Practices

In Python Pandas, while performing mathematical operations on series, index matching is implemented and all missing values are filled in with …………… by default.

  1. Null
  2. Blank
  3. NaN
  4. Zero

Python Pandas

2 Likes

Answer

NaN

Reason — When performing mathematical operations on pandas Series objects, index matching is implemented (this is called data alignment in Pandas objects), and missing values are filled with NaN (Not a Number) by default.

Answered By

2 Likes


Related Questions