CBSE Class 12 Informatics Practices Question 94 of 167

Python Pandas — I — Question 5

Back to all questions
5
Question

Question 5

Write commands to print following details of a Series object seal :

(a) if the series is empty

(b) indexes of the series

(c) The data type of underlying data

(d) if the series stores any NaN values

Answer

(a)

seal.empty

(b)

seal.index

(c)

seal.dtype

(d)

seal.hasnans