Write a NumPy program to find the first Monday in May 2017.
import numpy as np print("First Monday in May 2017:") print(np.busday_offset('2017-05', 0, roll='forward', weekmask='Mon'))
Sample Output:
First Monday in May 2017: 2017-05-01
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer