Babul 7154
Babul 7154

Reputation: 81

Heatmap is not showing missing value

I am working to find-out the missing value of dataframe(that is train).I used pandas .isnull and it give me correct boolean output for missing value in 'Age','Cabin' and 'Embarked' columns.But when i used sns.heatmap ,it is not showing missing value for 'Embarked'.What I am doing wrong? please help me.Below are the image for better understanding.

using pandas isnull

finding missing value

Not showing missing value for Embarked in heatmap Not showing missing value for Embarked in heatmap

Upvotes: 1

Views: 3371

Answers (1)

Babul 7154
Babul 7154

Reputation: 81

I solved this by resizing fiqure:

plt.figure(figsize=(12,8))

sns.heatmap(train.isnull(),cbar=False)

Thanks Stupidwolf for suggesting me. solved

Upvotes: 4

Related Questions