You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.25.0.rst
+2-1
Original file line number
Diff line number
Diff line change
@@ -252,7 +252,6 @@ Other API Changes
252
252
- The ``arg`` argument in :meth:`pandas.core.groupby.DataFrameGroupBy.agg` has been renamed to ``func`` (:issue:`26089`)
253
253
- The ``arg`` argument in :meth:`pandas.core.window._Window.aggregate` has been renamed to ``func`` (:issue:`26372`)
254
254
- Most Pandas classes had a ``__bytes__`` method, which was used for getting a python2-style bytestring representation of the object. This method has been removed as a part of dropping Python2 (:issue:`26447`)
255
-
- Bug in :func:`_ensure_valid_index` empty list like object should have an empty Index (:issue:`17101`)
256
255
257
256
.. _whatsnew_0250.deprecations:
258
257
@@ -382,6 +381,8 @@ Indexing
382
381
- Bug in which :meth:`DataFrame.to_csv` caused a segfault for a reindexed data frame, when the indices were single-level :class:`MultiIndex` (:issue:`26303`).
383
382
- Fixed bug where assigning a :class:`arrays.PandasArray` to a :class:`pandas.core.frame.DataFrame` would raise error (:issue:`26390`)
384
383
- Allow keyword arguments for callable local reference used in the :method:`DataFrame.query` string (:issue:`26426`)
384
+
- Bug when adding a new column to a length-zero ``DataFrame`` converting the index to a ``RangeIndex`` (:issue:`17101`).
0 commit comments