-
-
Save amankharwal/20575c91fc7ffe6e9654faf2d0a95c72 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
i = 1 | |
cols=[0, 1, 3, 4, 5, 6] | |
plt.figure(figsize=(20, 10)) | |
for col in cols: | |
plt.subplot(len(cols), 1, i) | |
plt.plot(df.resample('H').mean().values[:, col]) | |
plt.title(df.columns[col] + ' data resample over hour for mean', y=0.75, loc='left') | |
i += 1 | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment