Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created January 23, 2021 07:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save amankharwal/cdd57239d5bcbefd2b41676dfb3c16b9 to your computer and use it in GitHub Desktop.
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('D').mean().values[:, col])
plt.title(df.columns[col] + ' data resample over day for mean', y=0.75, loc='center')
i += 1
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment