Added support for string dates in create_date_series
This commit is contained in:
parent
a39b4fa606
commit
371f7e2279
@ -17,6 +17,8 @@ def create_date_series(
|
||||
if eomonth and frequency.days < AllFrequencies.M.days:
|
||||
raise ValueError(f"eomonth cannot be set to True if frequency is higher than {AllFrequencies.M.name}")
|
||||
|
||||
start_date = _parse_date(start_date)
|
||||
end_date = _parse_date(end_date)
|
||||
datediff = (end_date - start_date).days / frequency.days + 1
|
||||
dates = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user