📜  numpy 偏移量 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:51.847000             🧑  作者: Mango

代码示例1
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')