Resampling Error : cannot reindex a non-unique index with a method or limit
问题 I am using Pandas to structure and process Data. I have here a DataFrame with dates as index, Id and bitrate. I want to group my Data by Id and resample, at the same time, timedates which are relative to every Id, and finally keep the bitrate score. For example, given : df = pd.DataFrame( {'Id' : ['CODI126640013.ts', 'CODI126622312.ts'], 'beginning_time':['2016-07-08 02:17:42', '2016-07-08 02:05:35'], 'end_time' :['2016-07-08 02:17:55', '2016-07-08 02:26:11'], 'bitrate': ['3750000', '3750000'