我有一个df时间序列.我提取了索引,并希望将它们各自转换为datetime.你是怎么做的?我尝试使用pandas.to_datetime(x)但在使用后检查时它不会转换它type()
df
datetime
pandas.to_datetime(x)
type()
python pandas
pandas ×1
python ×1