CBSE Class 12 Informatics Practices Question 16 of 167

Python Pandas — I — Question 6

Back to all questions
6
Question

Question 6

What are NaNs ? How do you store them in a data structures ?

Answer

NaN stands for 'Not a Number'. In Python libraries like NumPy and Pandas, NaN is the legal empty value used to represent missing or undefined values, and we can use np.NaN (imported NumPy as np) to specify a missing value.