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.18.1.txt
+10-9
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,14 @@ Sparse changes
74
74
75
75
These changes conform sparse handling to return the correct types and work to make a smoother experience with indexing.
76
76
77
+
``SparseArray.take`` now returns scalar for scalar input, ``SparseArray`` for others. Also now it handles negative indexer as the same rule as ``Index`` (:issue:`10560`, :issue:`12796`)
- Bug in ``SparseSeries.loc[]`` with list-like input raises ``TypeError`` (:issue:`10560`)
78
86
- Bug in ``SparseSeries.iloc[]`` with scalar input may raise ``IndexError`` (:issue:`10560`)
79
87
- Bug in ``SparseSeries.loc[]``, ``.iloc[]`` with ``slice`` returns ``SparseArray``, rather than ``SparseSeries`` (:issue:`10560`)
@@ -83,13 +91,6 @@ These changes conform sparse handling to return the correct types and work to ma
83
91
- Bug in ``SparseSeries.reindex`` incorrectly handle ``fill_value`` (:issue:`12797`)
84
92
- Bug in ``SparseArray.to_dense()`` does not preserve ``dtype`` (:issue:`10648`)
85
93
- Bug in ``SparseArray.to_dense()`` incorrectly handle ``fill_value`` (:issue:`12797`)
86
-
- ``SparseArray.take`` now returns scalar for scalar input, ``SparseArray`` for others. Also now it handles negative indexer as the same rule as ``Index`` (:issue:`10560`, :issue:`12796`)
Using ``apply`` on resampling groupby operations (using a ``pd.TimeGrouper``) now has the same output types as similar ``apply``s on other groupby operations. (:issue:`11742`).
116
+
Using ``apply`` on resampling groupby operations (using a ``pd.TimeGrouper``) now has the same output types as a similar ``apply`` on other groupby operations. (:issue:`11742`).
116
117
117
118
.. ipython:: python
118
119
@@ -173,7 +174,6 @@ Performance Improvements
173
174
174
175
175
176
176
-
- Bug in ``__name__`` of ``.cum*`` functions (:issue:`12021`)
177
177
178
178
179
179
@@ -191,6 +191,7 @@ Bug Fixes
191
191
- Bugs in concatenation with a coercable dtype was too aggressive. (:issue:`12411`, :issue:`12045`, :issue:`11594`, :issue:`10571`)
192
192
- Bug in ``float_format`` option with option not being validated as a callable. (:issue:`12706`)
193
193
- Bug in ``GroupBy.filter`` when ``dropna=False`` and no groups fulfilled the criteria (:issue:`12768`)
194
+
- Bug in ``__name__`` of ``.cum*`` functions (:issue:`12021`)
194
195
195
196
196
197
- Bug in ``.drop()`` with a non-unique ``MultiIndex``. (:issue:`12701`)
0 commit comments