File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -356,31 +356,6 @@ When :class:`Categorical` contains ``np.nan``,
356356
357357 pd.Categorical([1 , 2 , np.nan], ordered = True ).min()
358358
359- Avoid iterating over ``Series.str ``
360- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
361-
362- Iterating over the `.str ` accessor of :class: `Series ` will now raise a
363- `FutureWarning ` and be removed in future releases (:issue: `28277 `).
364- Since no clear purpose of this feature could be derived, there will be
365- no replacement.
366-
367- .. code-block :: ipython
368-
369- In [1]: s = pd.Series(["a", "ab"])
370- In [2]: s
371- Out[2]:
372- 0 a
373- 1 ab
374- dtype: object
375-
376- In [3]: generator = (_ for _ in s.str)
377- In [4]: next(generator)
378- Out[4]:
379- FutureWarning: Columnar iteration over characters will be deprecated in future releases.
380- 0 a
381- 1 a
382- dtype: object
383-
384359 .. _whatsnew_1000.api_breaking.deps :
385360
386361Increased minimum versions for dependencies
@@ -465,6 +440,7 @@ Other API changes
465440- :meth: `Series.dropna ` has dropped its ``**kwargs `` argument in favor of a single ``how `` parameter.
466441 Supplying anything else than ``how `` to ``**kwargs `` raised a ``TypeError `` previously (:issue: `29388 `)
467442- When testing pandas, the new minimum required version of pytest is 5.0.1 (:issue: `29664 `)
443+ - :meth: `Series.str.__iter__ ` was deprecated and will be removed in future releases (:issue: `28277 `).
468444
469445
470446.. _whatsnew_1000.api.documentation :
You can’t perform that action at this time.
0 commit comments