StratoDem / pandas-js

Pandas in JavaScript for data analysis and visualization
https://stratodem.github.io/pandas.js-docs
MIT License
454 stars 36 forks source link

df.resample() #56

Open ghost opened 6 years ago

ghost commented 6 years ago

Is it possible to use the resample method in pandas-js? Something like this:

import pandas
df = pandas.DataFrame(...)
df_days = df.resample('1440min').apply({'value1':'sum', 'value2':'sum'}).fillna(0)