Create a new column using datetime index

前端 未结 0 1508
失恋的感觉
失恋的感觉 2020-12-25 14:26

I am trying to create a new column with value 1 if the datetme index is less than some date and zero if it is greater. I tried the following code but it doesn\'t work as int

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