我有一个数据帧df
,其中包含一个类型为timedelta
的列。我想打印行,其中:df.col1 == '06:12:02.284021'
。
有谁知道怎么做吗?
Timedelta('0 days 06:12:02.284021')
发布于 2020-08-11 00:11:12
假设您的列名为col1
print(df[df['col1'] == '06:12:02.284021'])
如果不提供适当的数据来处理,就很难弄清楚你想要什么
https://stackoverflow.com/questions/63342729
复制相似问题