Aggregating and plotting time series in Python | Dark Hacker News