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
- ``Index.astype()`` now accepts an optional boolean argument ``copy``, which allows optional copying if the requirements on dtype are satisfied (:issue:`13209`)
294
+
- ``Index`` now supports ``.str.extractall()`` which returns a ``DataFrame``, the see :ref:`docs here <text.extractall>` (:issue:`10008`, :issue:`13156`)
295
+
262
296
.. _whatsnew_0190.enhancements.other:
263
297
264
298
Other enhancements
@@ -273,7 +307,6 @@ Other enhancements
273
307
pd.to_numeric(s, downcast='unsigned')
274
308
pd.to_numeric(s, downcast='integer')
275
309
276
-
- ``Index`` now supports ``.str.extractall()`` which returns a ``DataFrame``, the see :ref:`docs here <text.extractall>` (:issue:`10008`, :issue:`13156`)
277
310
- ``.to_hdf/read_hdf()`` now accept path objects (e.g. ``pathlib.Path``, ``py.path.local``) for the file path (:issue:`11773`)
278
311
279
312
.. ipython:: python
@@ -295,14 +328,6 @@ Other enhancements
295
328
296
329
- The ``pd.read_html()`` has gained support for the ``na_values``, ``converters``, ``keep_default_na`` options (:issue:`13461`)
297
330
298
-
- ``Index.astype()`` now accepts an optional boolean argument ``copy``, which allows optional copying if the requirements on dtype are satisfied (:issue:`13209`)
299
-
- ``Index`` now supports the ``.where()`` function for same shape indexing (:issue:`13170`)
300
-
301
-
.. ipython:: python
302
-
303
-
idx = pd.Index(['a', 'b', 'c'])
304
-
idx.where([True, False, True])
305
-
306
331
- ``Categorical.astype()`` now accepts an optional boolean argument ``copy``, effective when dtype is categorical (:issue:`13209`)
307
332
- ``DataFrame`` has gained the ``.asof()`` method to return the last non-NaN values according to the selected subset (:issue:`13358`)
308
333
- Consistent with the Python API, ``pd.read_csv()`` will now interpret ``+inf`` as positive infinity (:issue:`13274`)
0 commit comments