Write the command to print if the series stores any Nan values. Consider S is a name
of the series object.
Answers
Answered by
0
Answer:
Now evaluating the Series s, the output shows each value as expected, including index 2 which we explicitly set as missing.
In [2]: s
Out[2]:
0 2
1 3
2 NaN
3 7
4 The Hobbit
dtype: object
To test the isnull() method on this series, we can use s.isnull() and view the output:
Similar questions