How to create a heatmap to see the "NULL" values in a DataFrame using Python

import matplotlib.pyplot as plt

import seaborn as sns

%matplotlib inline


plt.subplots(figsize=(10,8))  

sns.heatmap(df.isnull(), yticklabels=False, cbar=False)


Sample result:


Comments