Group by time interval

User 693 | 9/8/2014, 7:10:32 PM

I'm trying to group a time series (an SArray of datetimes) by an arbitrary interval (e.g., week, month etc), but I couldn't find anything in the docs to help with that. Any help would be greatly appreciated!

Comments

User 693 | 9/8/2014, 11:33:58 PM

Solved thanks!


User 413 | 9/9/2014, 7:52:47 PM

I would be interested in how you solved this.


User 954 | 11/18/2014, 10:34:55 PM

You can use graphlab.SArray.split_datetime(...) and then group by week, day, etc.