Reputation: 23
Visualization of missing records in DataFrame
I have a lot of missing dataframe records.
df.isnull().sum()
The problem is that these deficiencies are connected and I don't know how to see them. Because I do not want to mess up so as to spoil data. What are your ways to see the structure of the missing dataframe?
Upvotes: 2
Views: 517
Reputation: 3187
You ca use such plot of concentration
import seaborn as sns
sns.heatmap(df.isnull(),yticklabels=False,cbar=False,cmap='viridis')
Upvotes: 1
Reputation: 539
Use df.info()
. It will give you non null record count in each column.
Upvotes: 0