Skip to content

Commit 3c76514

Browse files
adminadmin
admin
authored and
admin
committed
updated whatsnew entry
1 parent d2c5596 commit 3c76514

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

doc/source/whatsnew/v1.0.0.rst

+1-26
Original file line numberDiff line numberDiff line change
@@ -260,31 +260,6 @@ The following methods now also correctly output values for unobserved categories
260260
df.groupby(["cat_1", "cat_2"], observed=False)["value"].count()
261261
262262
263-
Avoid iterating over ``Series.str``
264-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
265-
266-
Iterating over the `.str` accessor of :class:`Series` will now raise a
267-
`FutureWarning` and be removed in future releases (:issue:`28277`).
268-
Since no clear purpose of this feature could be derived, there will be
269-
no replacement.
270-
271-
.. code-block:: ipython
272-
273-
In [1]: s = pd.Series(["a", "ab"])
274-
In [2]: s
275-
Out[2]:
276-
0 a
277-
1 ab
278-
dtype: object
279-
280-
In [3]: generator = (_ for _ in s.str)
281-
In [4]: next(generator)
282-
Out[4]:
283-
FutureWarning: Columnar iteration over characters will be deprecated in future releases.
284-
0 a
285-
1 a
286-
dtype: object
287-
288263
.. _whatsnew_1000.api_breaking.deps:
289264

290265
Increased minimum versions for dependencies
@@ -369,7 +344,7 @@ Other API changes
369344
- :meth:`Series.dropna` has dropped its ``**kwargs`` argument in favor of a single ``how`` parameter.
370345
Supplying anything else than ``how`` to ``**kwargs`` raised a ``TypeError`` previously (:issue:`29388`)
371346
- When testing pandas, the new minimum required version of pytest is 5.0.1 (:issue:`29664`)
372-
-
347+
- :meth:`Series.str.__iter__` was deprecated and will be removed in future releases (:issue:`28277`).
373348

374349

375350
.. _whatsnew_1000.api.documentation:

0 commit comments

Comments
 (0)