October 2019
Beginner to intermediate
674 pages
16h 43m
English
To get a sense of how mad the missing value problem is, you may want to find out about the following information:
These tasks can be performed as follows:
pd.isnull(data['body']) #returns TRUE if a cell has missing valuespd.notnull(data['body']) #returns TRUE if a cell doesn't have missing values
pd.isnull(data['body']).values.ravel().sum() #returns the total number of missing valuespd.nottnull(data['body']).values.ravel().sum()#returns the total number of non-missing values
Read now
Unlock full access