Created
September 9, 2020 04:17
-
-
Save PhilipPurwoko/6fb20300dcbe44d4d25df181d508f87d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def distribusi(): | |
fig,axes = plt.subplots(nrows=2,ncols=3,figsize=(12,8)) | |
plt.suptitle('Distribusi',fontsize=24) | |
def kolom_generator(): | |
for kolom in dataframe_int: | |
yield kolom | |
kolom = kolom_generator() | |
for i in range(0,2): | |
for j in range(0,3): | |
k = next(kolom) | |
dataframe_int[k].plot(kind='hist',ax=axes[i,j]) | |
axes[i,j].set_title(k) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment