Skip to content

Commit

Permalink
fix frequency string in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
pgierz committed Nov 7, 2024
1 parent b6395a9 commit 76b003f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymorize/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def date_ranges_from_bounds(bounds, freq: str = "M", **kwargs):
--------
>>> bounds = [("2020-01-01", "2020-12-31")]
>>> date_ranges_from_bounds(bounds, freq="M")
(DatetimeIndex(['2020-01-31', '2020-02-29', ..., '2020-12-31'], dtype='datetime64[ns]', freq='M'),)
DatetimeIndex(['2020-01-31', '2020-02-29', ..., '2020-12-31'], dtype='datetime64[ns]', freq='ME')
"""
objs = []
for start, end in bounds:
Expand Down

0 comments on commit 76b003f

Please sign in to comment.