python按时间分类数据,Python会按年份+月份分割数据表列表
I have the following csv files:# simulate a csv filefrom StringIO import StringIOdata = StringIO("""2012-04-01,00:10, A, 102012-04-01,00:20, B, 112012-04-01,00:30, B, 122012-04-02,00:10, A, 182012-05-...