You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I have the following dataset; this is water data measuring the water-level and flow (cubic feet per second) of a river used to provide early warning of flood conditions among many other uses. This is data taken from one of thousands of many other water gauges.
Originally, this particular gauge was configured to take samples once per hour, later it was configured to take samples once every fifteen minutes. Other gauges have different sample intervals which likewise have been changed per need as time has gone by.
Assuming the timestamp column (as a datatable frame) is a time64 column, how could I bin and downsample this data into 24hr or weekly (7day) measurements summarized by the first and last measurements of the day or week, as well as high and low during each period?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Say I have the following dataset; this is water data measuring the water-level and flow (cubic feet per second) of a river used to provide early warning of flood conditions among many other uses. This is data taken from one of thousands of many other water gauges.
Originally, this particular gauge was configured to take samples once per hour, later it was configured to take samples once every fifteen minutes. Other gauges have different sample intervals which likewise have been changed per need as time has gone by.
Assuming the timestamp column (as a datatable frame) is a
time64
column, how could I bin and downsample this data into 24hr or weekly (7day) measurements summarized by the first and last measurements of the day or week, as well as high and low during each period?example output would be something like:
Beta Was this translation helpful? Give feedback.
All reactions