diff --git a/python/cudf/cudf/core/series.py b/python/cudf/cudf/core/series.py index e2154bfbd44..b15a7b01db6 100644 --- a/python/cudf/cudf/core/series.py +++ b/python/cudf/cudf/core/series.py @@ -6125,9 +6125,7 @@ def is_quarter_start(self): result = ((day == cudf.Scalar(1)) & first_month).fillna(False) return Series._from_data( - {None: result}, - index=self.series._index, - name=self.series.name, + {None: result}, index=self.series._index, name=self.series.name, ) @property @@ -6175,9 +6173,7 @@ def is_quarter_end(self): result = ((day == last_day) & last_month).fillna(False) return Series._from_data( - {None: result}, - index=self.series._index, - name=self.series.name, + {None: result}, index=self.series._index, name=self.series.name, ) @property