Answers for "numpy offset"

0

numpy offset

from datetime import datetime
import numpy as np

start = np.busday_offset(datetime.today().date(), offsets=-1, roll='backward')
end = np.busday_offset(datetime.today().date(), offsets=1, roll='backward')
Posted by: Guest on August-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language