Missing samples of a dataframe in pandas
问题 My df: In [163]: df.head() Out[163]: x-axis y-axis z-axis time 2017-07-27 06:23:08 -0.107666 -0.068848 0.963623 2017-07-27 06:23:08 -0.105225 -0.070068 0.963867 ..... I set the index as datetime. Since the sampling rate (10 Hz) is not always constant in the dataframe and for some second I have 8 or 9 samples. I would like to specify the milliseconds on my datatime (06:23:08**.100**, 06:23:08**.200**, etc.) I also would like to do interpolation of the missing samples. Some ideas how to do it