How to interpret Pandas Timestamp as week integer since the Epoc

后端 未结 0 615

Docs say I can pull out the week of the year from the timestamp:

pd.to_datetime(\'03-01-2021\').week -> 9

But I need weeks since the epoch.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题