Guest User

Matplotlib code

a guest
May 2nd, 2020
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. plt.figure(figsize=(12,10))
  2.  
  3. plt.subplot(2, 1, 1)
  4. transactions.isnull().sum().plot(kind="bar", title="Transactions")
  5.  
  6. plt.subplot(2,2,4)
  7. new_customers.isnull().sum().plot(kind="bar", title="New Customers")
  8.  
  9. plt.subplot(2,2,3)
  10. customer_demographics.isnull().sum().plot(kind="bar", title="Customer Demographics")
  11.  
  12. plt.subplots_adjust(top=0.88)
  13. plt.suptitle("Incomplete Values per Sheet", fontsize=16)
  14. plt.tight_layout()
  15. plt.show()
Add Comment
Please, Sign In to add comment