KnowledgeBoat Logo
|

Informatics Practices

To check if the Series object contains NaN values, …………… attribute is displayed.

  1. hasnans
  2. nbytes
  3. ndim
  4. dtype

Python Pandas

1 Like

Answer

hasnans

Reason — The hasnans attribute is used to check if a Series object contains some NaN value or not. The syntax is <Series object>.hasnans.

Answered By

2 Likes


Related Questions