DEV Community

Discussion on: Visualizing the patterns of missing value occurrence with Python

Collapse
 
radekpjanik profile image
radekpjanik

How would you plot the missingno package plots into 3 subplots? E.g. have 3 subplots, one with matrix, one with heatmap and one with dendogram?

Thanks!

Collapse
 
prateek2901 profile image
Prateek Srivastava

fig, ax = plt.subplots(figsize=(25, 15),nrows=1,ncols=2)

Visualize the number of missing values as a bar chart

msno.bar(df,ax=ax[0])

Visualize the correlation between the number of missing values in different columns as a heatmap

msno.heatmap(df,ax=ax[1])

Maybe you can try something like this..