File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -585,6 +585,7 @@ Bug Fixes
585
585
- Bug in ``DataFrame.sort_values()`` when sorting by multiple columns where one column is of type ``int64`` and contains ``NaT`` (:issue:`14922`)
586
586
- Bug in ``DataFrame.reindex()`` in which ``method`` was ignored when passing ``columns`` (:issue:`14992`)
587
587
- Bug in ``pd.to_numeric()`` in which float and unsigned integer elements were being improperly casted (:issue:`14941`, :issue:`15005`)
588
+ - Cleaned up ``PeriodIndex`` constructor, including raising on floats more consistently (:issue:`13277`)
588
589
- Bug in ``pd.read_csv()`` in which the ``dialect`` parameter was not being verified before processing (:issue:`14898`)
589
590
- Bug in ``pd.read_fwf`` where the skiprows parameter was not being respected during column width inference (:issue:`11256`)
590
591
- Bug in ``pd.read_csv()`` in which missing data was being improperly handled with ``usecols`` (:issue:`6710`)
Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ def _new_Index(cls, d):
88
88
""" This is called upon unpickling, rather than the default which doesn't
89
89
have arguments and breaks __new__
90
90
"""
91
- from pandas .types .generic import ABCPeriodIndex
91
+ # required for backward compat, because PI can't be instantiated with
92
+ # ordinals through __new__ GH #13277
92
93
if issubclass (cls , ABCPeriodIndex ):
93
94
if d ['data' ].dtype == 'int64' :
94
95
values = d .pop ('data' )
You can’t perform that action at this time.
0 commit comments