Aggregating and plotting time series in Python | Hacker News Reader