Skip to content

Commit 2d1b25b

Browse files
committed
docstring
1 parent 7198e78 commit 2d1b25b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/_libs/tslibs/period.pyx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,6 +1626,10 @@ DIFFERENT_FREQ = ("Input has different freq={other_freq} "
16261626

16271627

16281628
class IncompatibleFrequency(TypeError):
1629+
"""
1630+
Raised when trying to compare or operate between Periods with different
1631+
frequencies.
1632+
"""
16291633
pass
16301634

16311635

0 commit comments

Comments
 (0)