I need a function which return a date range for a given month and year. Right now i do it for each month manually, e.g.:
mai = pd.date_range(start='05-01-2020', end='05-31-2020')
Function call should work like that:
range = create_range(month='april', year=2020)
This should deliver a date_range like that:
pd.date_range(start='04-01-2020', end='04-30-2020')