Skip to content

Commit 712e77a

Browse files
committed
add whatsnew
1 parent f2f1362 commit 712e77a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/source/whatsnew/v0.24.0.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -416,15 +416,15 @@ In addition to these API breaking changes, many :ref:`performance improvements a
416416
Raise ValueError in ``DataFrame.to_dict(orient='index')``
417417
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
418418

419-
Bug in :func:`DataFrame.to_dict` raises ``ValueError`` when used with
419+
Bug in :func:`DataFrame.to_dict` raises ``ValueError`` when used with
420420
``orient='index'`` and a non-unique index instead of losing data (:issue:`22801`)
421421

422422
.. ipython:: python
423423
:okexcept:
424424

425425
df = pd.DataFrame({'a': [1, 2], 'b': [0.5, 0.75]}, index=['A', 'A'])
426426
df
427-
427+
428428
df.to_dict(orient='index')
429429

430430
.. _whatsnew_0240.api.datetimelike.normalize:
@@ -706,6 +706,8 @@ Deprecations
706706
many ``Series``, ``Index`` or 1-dimensional ``np.ndarray``, or alternatively, only scalar values. (:issue:`21950`)
707707
- :meth:`FrozenNDArray.searchsorted` has deprecated the ``v`` parameter in favor of ``value`` (:issue:`14645`)
708708
- :func:`DatetimeIndex.shift` and :func:`PeriodIndex.shift` now accept ``periods`` argument instead of ``n`` for consistency with :func:`Index.shift` and :func:`Series.shift`. Using ``n`` throws a deprecation warning (:issue:`22458`, :issue:`22912`)
709+
- :meth:`pandas.read_csv` has deprecated the redundant ``delimiter`` argument, please use ``sep`` (:issue:`21996`)
710+
709711

710712
.. _whatsnew_0240.prior_deprecations:
711713

0 commit comments

Comments
 (0)