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
- Bug in dtype being lost in ``__invert__`` (``~`` operator) for extension-array backed ``Series`` and ``DataFrame`` (:issue:`23087`)
134
+
- Bug where :meth:`qcut` would raise when passed a nullable integer. (:issue:`31389`)
126
135
-
127
136
128
137
129
138
Other
130
139
^^^^^
131
-
-
140
+
- Regression fixed in objTOJSON.c fix return-type warning (:issue:`31463`)
141
+
- Fixed a regression where setting :attr:`pd.options.display.max_colwidth` was not accepting negative integer. In addition, this behavior has been deprecated in favor of using ``None`` (:issue:`31532`)
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.1.0.rst
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,9 @@ Backwards incompatible API changes
60
60
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61
61
- :meth:`DataFrame.swaplevels` now raises a ``TypeError`` if the axis is not a :class:`MultiIndex`.
62
62
Previously a ``AttributeError`` was raised (:issue:`31126`)
63
+
- :meth:`DataFrameGroupby.mean` and :meth:`SeriesGroupby.mean` (and similarly for :meth:`~DataFrameGroupby.median`, :meth:`~DataFrameGroupby.std`` and :meth:`~DataFrameGroupby.var``)
64
+
now raise a ``TypeError`` if a not-accepted keyword argument is passed into it.
65
+
Previously a ``UnsupportedFunctionCall`` was raised (``AssertionError`` if ``min_count`` passed into :meth:`~DataFrameGroupby.median``) (:issue:`31485`)
- Bug in :class:`Timestamp` where constructing :class:`Timestamp` from ambiguous epoch time and calling constructor again changed :meth:`Timestamp.value` property (:issue:`24329`)
106
109
- :meth:`DatetimeArray.searchsorted`, :meth:`TimedeltaArray.searchsorted`, :meth:`PeriodArray.searchsorted` not recognizing non-pandas scalars and incorrectly raising ``ValueError`` instead of ``TypeError`` (:issue:`30950`)
107
110
- Bug in :class:`Timestamp` where constructing :class:`Timestamp` with dateutil timezone less than 128 nanoseconds before daylight saving time switch from winter to summer would result in nonexistent time (:issue:`31043`)
111
+
- Bug in :meth:`DataFrame.reindex` and :meth:`Series.reindex` when reindexing with a tz-aware index (:issue:`26683`)
108
112
109
113
Timedelta
110
114
^^^^^^^^^
111
115
112
-
-
116
+
- Bug in constructing a :class:`Timedelta` with a high precision integer that would round the :class:`Timedelta` components (:issue:`31354`)
113
117
-
114
118
115
119
Timezones
@@ -151,7 +155,6 @@ Indexing
151
155
- Bug in :meth:`Series.at` and :meth:`DataFrame.at` not matching ``.loc`` behavior when looking up an integer in a :class:`Float64Index` (:issue:`31329`)
152
156
- Bug in :meth:`PeriodIndex.is_monotonic` incorrectly returning ``True`` when containing leading ``NaT`` entries (:issue:`31437`)
153
157
- Bug in :meth:`DatetimeIndex.get_loc` raising ``KeyError`` with converted-integer key instead of the user-passed key (:issue:`31425`)
154
-
-
155
158
156
159
Missing
157
160
^^^^^^^
@@ -161,14 +164,21 @@ Missing
161
164
162
165
MultiIndex
163
166
^^^^^^^^^^
167
+
- Bug in :meth:`Dataframe.loc` when used with a :class:`MultiIndex`. The returned values were not in the same order as the given inputs (:issue:`22797`)
164
168
165
-
-
169
+
.. ipython:: python
170
+
171
+
df = pd.DataFrame(np.arange(4),
172
+
index=[["a", "a", "b", "b"], [1, 2, 1, 2]])
173
+
# Rows are now ordered as the requested keys
174
+
df.loc[(['b', 'a'], [2, 1]), :]
166
175
-
167
176
168
177
I/O
169
178
^^^
170
179
- Bug in :meth:`read_json` where integer overflow was occuring when json contains big number strings. (:issue:`30320`)
171
180
- `read_csv` will now raise a ``ValueError`` when arguments `header` and `prefix` both are not None. (:issue:`27394`)
181
+
- Bug in :meth:`DataFrame.to_json` was raising ``NotFoundError`` when ``path_or_buf`` was an S3 URI (:issue:`28375`)
172
182
-
173
183
174
184
Plotting
@@ -211,7 +221,7 @@ Other
211
221
^^^^^
212
222
- Appending a dictionary to a :class:`DataFrame` without passing ``ignore_index=True`` will raise ``TypeError: Can only append a dict if ignore_index=True``
213
223
instead of ``TypeError: Can only append a Series if ignore_index=True or if the Series has a name`` (:issue:`30871`)
214
-
-
224
+
- Set operations on an object-dtype :class:`Index` now always return object-dtype results (:issue:`31401`)
0 commit comments