Skip to content

Commit

Permalink
updated whatsnew entry
Browse files Browse the repository at this point in the history
  • Loading branch information
admin authored and admin committed Dec 3, 2019
1 parent e760956 commit a9b7e2a
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions doc/source/whatsnew/v1.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -356,31 +356,6 @@ When :class:`Categorical` contains ``np.nan``,
pd.Categorical([1, 2, np.nan], ordered=True).min()
Avoid iterating over ``Series.str``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Iterating over the `.str` accessor of :class:`Series` will now raise a
`FutureWarning` and be removed in future releases (:issue:`28277`).
Since no clear purpose of this feature could be derived, there will be
no replacement.

.. code-block:: ipython
In [1]: s = pd.Series(["a", "ab"])
In [2]: s
Out[2]:
0 a
1 ab
dtype: object
In [3]: generator = (_ for _ in s.str)
In [4]: next(generator)
Out[4]:
FutureWarning: Columnar iteration over characters will be deprecated in future releases.
0 a
1 a
dtype: object
.. _whatsnew_1000.api_breaking.deps:

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


.. _whatsnew_1000.api.documentation:
Expand Down

0 comments on commit a9b7e2a

Please sign in to comment.