خرید بک لینک

Vote count: 0

Looking for a clean function for this, ideally in Pandas/Numpy. I'm currently building something messy out of CustomBusinessHour() and TimeDelta() functions from Pandas, but I think that there must be a better way. If Pandas had a CustomBusinessMinute() feature, this would be as easy as len(pd.date_range(timestamp1,timestamp,freq=CustomBusinessMinute())).

By "Business Minute," I mean a minute that meets certain criteria. For example, in my case this means 1) does not fall on weekend, 2) falls between 9am and 5pm, and 3) does not fall on Federal Holiday.

Thanks

asked 36 secs ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 5 آبان 1395 ساعت: 20:21

صفحه بندی