-2

I want to get the datetime of N weekdays before today. Which function can help me to realize it? I try my best to search it but doesn't work.

xxyao
  • 529
  • 1
  • 7
  • 16

1 Answers1

0

Yeah I got it.pd.tseries.offsets.BDay(1) works

xxyao
  • 529
  • 1
  • 7
  • 16