Skip to content

Commit 2a75a22

Browse files
committed
Fix whitespace issues in period.pyx
- Remove trailing whitespace from blank lines - Fix formatting to pass CI pre-commit hooks
1 parent 99d92d9 commit 2a75a22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_libs/tslibs/period.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@ cdef class _Period(PeriodMixin):
17461746
cdef readonly:
17471747
int64_t ordinal
17481748
PeriodDtypeBase _dtype
1749-
1749+
17501750
cdef:
17511751
BaseOffset _freq
17521752

@@ -1785,7 +1785,7 @@ cdef class _Period(PeriodMixin):
17851785
>>> period = pd.Period('2020-01', freq='M')
17861786
>>> period.freq
17871787
<MonthEnd>
1788-
1788+
17891789
>>> period = pd.Period('2020-01-01', freq='D')
17901790
>>> period.freq
17911791
<Day>

0 commit comments

Comments
 (0)