How can I turn a date into the day of the week (as an integer)?

后端 未结 0 361
臣服心动
臣服心动 2021-01-12 06:10

I have a pandas dataframe which has dates in the format YYYYMMDD stored as a float32. Is it possible to somehow calculate what day of the week each day is? Eg. monday = 1, t

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