Closed kzhui125 closed 5 years ago
下载的数据:时间09:00:00.000000000有9个0
然而tafunc.time_to_s_timestamp和tafunc.time_to_str都是6个0
有点不一致啊
def time_to_s_timestamp(t): return 1e9 * tafunc.time_to_s_timestamp(t[:-3]) klines = pd.read_csv('rb_1M.csv') klines['datetime'] = klines['datetime'].apply(time_to_s_timestamp)
不过封装下就好了
下载的数据:时间09:00:00.000000000有9个0
然而tafunc.time_to_s_timestamp和tafunc.time_to_str都是6个0
有点不一致啊