🌈 搜索
📅  最后修改于: 2022-03-11 14:45:08.147000             🧑  作者: Mango
t1 = pd.to_datetime('1/1/2015 01:00') t2 = pd.to_datetime('1/1/2015 03:30') print pd.Timedelta(t2 - t1).seconds / 3600.0