Visualise DataFrame Missing Values Using a Seaborn Heatmap

Python

 1|  import matplotlib.pyplot as plt
 2|  import seaborn as sns
 3|  
 4|  plt.figure(figsize=(10,4))
 5|  sns.heatmap(df.isnull(),yticklabels=False,cbar=False)
Did you find this snippet useful?

Sign up for free to to add this to your code library