Write a NumPy program to find the number of weekdays in March 2017.
Note: "busday" default of Monday through Friday being valid days.
import numpy as np print("Number of weekdays in March 2017:") print(np.busday_count('2017-03', '2017-04'))
Sample Output:
Number of weekdays in March 2017: 23
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