-
-
Save amankharwal/5e5fc2df53927db749af04db09dc73ff 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
import matplotlib.pyplot as plt | |
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('M').mean().values[:, col]) | |
plt.title(df.columns[col] + ' data resample over month 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