Informatics Practices

Identify the correct statement :

  1. The standard marker for missing data in Pandas is NaN.
  2. Series act in a way similar to that of an array
  3. Both (a) and (b)
  4. None of the above

Python Pandas

1 Like

Answer

Both (a) and (b)

Reason — NaN stands for "Not a Number" and is used in Pandas to represent missing or undefined values in a Series or DataFrame. A Series in Pandas is similar to a one-dimensional array or list in Python. It has an index and a corresponding array of data values. Series can be accessed, sliced, and manipulated in ways similar to arrays.

Answered By

3 Likes


Related Questions