Why is np.nan used in DataFrames in pandas?

python

#1

Hey,
Why is np.nan used in DataFrames in pandas?
Thanks.


#2

Hello @shilpiag,

np.nan helps in creating a dataframe with missing values in python.