Created
June 6, 2018 04:46
-
-
Save aneesha/33e42d754370373884c1a6a3913a92ba 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 dask.dataframe as dd | |
df = dd.read_csv('logs/2018-*.*.csv', parse_dates=['timestamp']) | |
df.groupby(df.timestamp.dt.hour).value.mean().compute() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for your share. Would you mind to share your data set "2018-..csv".