Friday, 15 May 2015

python pandas: offset Timestamp by business day -


This seems to be the way to go, but I'm confused with the documentation.

Thanks

  import dand time as pandas.datetools import From DT BDay ts = pd.Timestamp (dt.datetime.now ())> & Gt; & Gt; TS + BDA (5) Out [42]: Timestamp ('2015-03-24 06: 48: 50.133321')  

No comments:

Post a Comment