Skip to content

Commit 341da30

Browse files
author
Jasper Zschiegner
committed
Fixup.
1 parent 89e8eba commit 341da30

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pandas/core/arrays/period.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ def _get_ordinal_range(start, end, periods, freq):
10561056

10571057
# If `freq` is passed, it will overwrite the freq of start and end, but
10581058
# doesn't change it if it is None.
1059-
# `to_offset(None) == None`.
1059+
# Note: `to_offset(None) == None`.
10601060
freq = to_offset(freq)
10611061

10621062
# become NaT, in case of None

pandas/tests/series/test_constructors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,6 @@ def test_constructor_periodindex(self):
12551255

12561256
def test_constructor_periodindex_multiple(self):
12571257
# GH47465
1258-
# converting a PeriodIndex when put in a Series
12591258

12601259
p = Period("2020-01-01")
12611260
pi = period_range(p, periods=5)

0 commit comments

Comments
 (0)