Pandas : How to return Friday as business day if date is falling on Sunday or Saturday ? Also skip holidays and get previous date

后端 未结 0 1230
面向向阳花
面向向阳花 2020-12-16 09:39

I am trying to return the business day, if my date is falling on Saturday or Sunday. Also, I want to skip US holiday and get the previous business day. Following is the code

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