阅读背景:

Python:在数据帧中将timedelta转换为int

来源:互联网 

I would like to create a column in a pandas data frame that is an integer representation of the number of days in a timedelta column. Is it possible to use 'datetime.days' or do I need to do something more manual?I would like to create a column in a pandas dat




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: