count how many nan in a data.table code example
Example: count rows with nan pandas
np.count_nonzero(df.isnull().values)
np.count_nonzero(df.isnull()) # also works
np.count_nonzero(df.isnull().values)
np.count_nonzero(df.isnull()) # also works