How can I groupby a list of data points and aggregate them by day? for example, given this list:
2012-03-18T00:00:04
2012-03-18T00:05:03
2012-03-19T00:10:04
2012-03-19T00:15:03
2012-03-19T00:20:03
2012-03-19T00:25:03
I want to have:
2012-03-18,2
2012-03-19,4
Assuming you have the data points as an array of strings called
pointsThis gives you a count of each occurrence of that date.
Example