Saturday, June 19, 2021

【PYTHON】Missing value plot

 import missingno as msno

msno.matrix(df)

# save figure for book
f = msno.matrix(df, figsize=(5.55.5))
f.patch.set_facecolor('w')  # sets background color behind axis labels
f2 = f.get_figure()
f2.savefig('B17030_05_13.png', bbox_inches='tight', dpi=300)
# plt.tight_layout(rect=(0.5, 0, 1, 1.5))  # auto-adjust margins

No comments:

Post a Comment

End of Summer Sale ☀️😎

20% OFF Inside!🤯 ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏  ͏...