From 0bab00f455123160a13e4a55c5e9a2b59526c5a6 Mon Sep 17 00:00:00 2001 From: Gourav Kumar Date: Sun, 26 Mar 2023 13:24:49 +0530 Subject: [PATCH] added eomonth to transform function --- pyfacts/pyfacts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyfacts/pyfacts.py b/pyfacts/pyfacts.py index 21257e8..8949925 100644 --- a/pyfacts/pyfacts.py +++ b/pyfacts/pyfacts.py @@ -849,9 +849,10 @@ class TimeSeries(TimeSeriesCore): dates = create_date_series( self.start_date, - self.end_date, + self.end_date, # + relativedelta(days=to_frequency.days), to_frequency.symbol, ensure_coverage=True, + eomonth=eomonth, ) prev_date = dates[0]