Question as above. I always use this line of code df.isna().sum()
to count the number of NAN values in each columns. This works great for dataset with 10-15 columns but when I have 20,30+ columns some of the output don't show, which gives me a hard time to find which col has NAN values. Is there a way to list out every column and its number of NANs?
the output of this line of code:
Id 0
MSSubClass 0
MSZoning 0
LotFrontage 0
LotArea 0
..
MoSold 0
YrSold 0
SaleType 0
SaleCondition 0
SalePrice 0
Length: 77, dtype: int64
some of the column names are replaced with ..
, I would like to see every column.