Skip to content

Commit 7ce9c83

Browse files
committed
revert api refernces
1 parent 0879960 commit 7ce9c83

File tree

2 files changed

+4
-48
lines changed

2 files changed

+4
-48
lines changed

doc/source/api.rst

-44
Original file line numberDiff line numberDiff line change
@@ -1759,8 +1759,6 @@ MultiIndex Components
17591759
MultiIndex.swaplevel
17601760
MultiIndex.reorder_levels
17611761
MultiIndex.remove_unused_levels
1762-
MultiIndex.reindex
1763-
MultiIndex.unique
17641762

17651763
MultiIndex Selecting
17661764
~~~~~~~~~~~~~~~~~~~~
@@ -1773,18 +1771,6 @@ MultiIndex Selecting
17731771
MultiIndex.get_indexer
17741772
MultiIndex.get_level_values
17751773

1776-
Modifying and Computations
1777-
~~~~~~~~~~~~~~~~~~~~~~~~~~
1778-
.. autosummary::
1779-
:toctree: generated/
1780-
1781-
MultiIndex.copy
1782-
MultiIndex.drop_duplicates
1783-
MultiIndex.duplicated
1784-
MultiIndex.equals
1785-
MultiIndex.repeat
1786-
MultiIndex.where
1787-
17881774
.. _api.datetimeindex:
17891775

17901776
DatetimeIndex
@@ -1866,16 +1852,6 @@ Conversion
18661852
DatetimeIndex.to_pydatetime
18671853
DatetimeIndex.to_series
18681854
DatetimeIndex.to_frame
1869-
DatetimeIndex.shift
1870-
1871-
Sorting
1872-
~~~~~~~
1873-
.. autosummary::
1874-
:toctree: generated/
1875-
1876-
DatetimeIndex.argsort
1877-
DatetimeIndex.searchsorted
1878-
DatetimeIndex.sort_values
18791855

18801856
TimedeltaIndex
18811857
--------------
@@ -1911,15 +1887,6 @@ Conversion
19111887
TimedeltaIndex.ceil
19121888
TimedeltaIndex.to_frame
19131889

1914-
Sorting
1915-
~~~~~~~
1916-
.. autosummary::
1917-
:toctree: generated/
1918-
1919-
TimedeltaIndex.argsort
1920-
TimedeltaIndex.searchsorted
1921-
TimedeltaIndex.sort_values
1922-
19231890
.. currentmodule:: pandas
19241891

19251892
PeriodIndex
@@ -1965,17 +1932,6 @@ Methods
19651932
PeriodIndex.asfreq
19661933
PeriodIndex.strftime
19671934
PeriodIndex.to_timestamp
1968-
PeriodIndex.shift
1969-
PeriodIndex.unique
1970-
1971-
Sorting
1972-
~~~~~~~
1973-
.. autosummary::
1974-
:toctree: generated/
1975-
1976-
PeriodIndex.argsort
1977-
PeriodIndex.searchsorted
1978-
PeriodIndex.sort_values
19791935

19801936
Scalars
19811937
-------

doc/source/whatsnew/v0.24.0.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ Removal of prior version deprecations/changes
12601260
- ``pandas.pnow``, ``pandas.match``, ``pandas.groupby``, ``pd.get_store``, ``pd.Expr``, and ``pd.Term`` have been removed (:issue:`15538`, :issue:`15940`)
12611261
- :meth:`Categorical.searchsorted` and :meth:`Series.searchsorted` have renamed the ``v`` argument to ``value`` (:issue:`14645`)
12621262
- ``pandas.parser``, ``pandas.lib``, and ``pandas.tslib`` have been removed (:issue:`15537`)
1263-
- :meth:`TimedeltaIndex.searchsorted`, :meth:`DatetimeIndex.searchsorted`, and :meth:`PeriodIndex.searchsorted` have renamed the ``key`` argument to ``value`` (:issue:`14645`)
1263+
- :meth:`Index.searchsorted` have renamed the ``key`` argument to ``value`` (:issue:`14645`)
12641264
- ``DataFrame.consolidate`` and ``Series.consolidate`` have been removed (:issue:`15501`)
12651265
- Removal of the previously deprecated module ``pandas.json`` (:issue:`19944`)
12661266
- The module ``pandas.tools`` has been removed (:issue:`15358`, :issue:`16005`)
@@ -1386,7 +1386,7 @@ Timedelta
13861386
Timezones
13871387
^^^^^^^^^
13881388

1389-
- Bug in :meth:`DatetimeIndex.shift` where an ``AssertionError`` would raise when shifting across DST (:issue:`8616`)
1389+
- Bug in :meth:`Index.shift` where an ``AssertionError`` would raise when shifting across DST (:issue:`8616`)
13901390
- Bug in :class:`Timestamp` constructor where passing an invalid timezone offset designator (``Z``) would not raise a ``ValueError`` (:issue:`8910`)
13911391
- Bug in :meth:`Timestamp.replace` where replacing at a DST boundary would retain an incorrect offset (:issue:`7825`)
13921392
- Bug in :meth:`Series.replace` with ``datetime64[ns, tz]`` data when replacing ``NaT`` (:issue:`11792`)
@@ -1402,7 +1402,7 @@ Timezones
14021402
- Bug in :func:`DataFrame.asof` that raised a ``TypeError`` when attempting to compare tz-naive and tz-aware timestamps (:issue:`21194`)
14031403
- Bug when constructing a :class:`DatetimeIndex` with :class:`Timestamp` constructed with the ``replace`` method across DST (:issue:`18785`)
14041404
- Bug when setting a new value with :meth:`DataFrame.loc` with a :class:`DatetimeIndex` with a DST transition (:issue:`18308`, :issue:`20724`)
1405-
- Bug in :meth:`DatetimeIndex.unique` that did not re-localize tz-aware dates correctly (:issue:`21737`)
1405+
- Bug in :meth:`Index.unique` that did not re-localize tz-aware dates correctly (:issue:`21737`)
14061406
- Bug when indexing a :class:`Series` with a DST transition (:issue:`21846`)
14071407
- Bug in :meth:`DataFrame.resample` and :meth:`Series.resample` where an ``AmbiguousTimeError`` or ``NonExistentTimeError`` would raise if a timezone aware timeseries ended on a DST transition (:issue:`19375`, :issue:`10117`)
14081408
- Bug in :meth:`DataFrame.drop` and :meth:`Series.drop` when specifying a tz-aware Timestamp key to drop from a :class:`DatetimeIndex` with a DST transition (:issue:`21761`)
@@ -1468,7 +1468,7 @@ Indexing
14681468
- The traceback from a ``KeyError`` when asking ``.loc`` for a single missing label is now shorter and more clear (:issue:`21557`)
14691469
- :class:`PeriodIndex` now emits a ``KeyError`` when a malformed string is looked up, which is consistent with the behavior of :class:`DatetimeIndex` (:issue:`22803`)
14701470
- When ``.ix`` is asked for a missing integer label in a :class:`MultiIndex` with a first level of integer type, it now raises a ``KeyError``, consistently with the case of a flat :class:`Int64Index`, rather than falling back to positional indexing (:issue:`21593`)
1471-
- Bug in :meth:`DatetimeIndex.reindex` when reindexing a tz-naive and tz-aware :class:`DatetimeIndex` (:issue:`8306`)
1471+
- Bug in :meth:`Index.reindex` when reindexing a tz-naive and tz-aware :class:`DatetimeIndex` (:issue:`8306`)
14721472
- Bug in :meth:`Series.reindex` when reindexing an empty series with a ``datetime64[ns, tz]`` dtype (:issue:`20869`)
14731473
- Bug in :class:`DataFrame` when setting values with ``.loc`` and a timezone aware :class:`DatetimeIndex` (:issue:`11365`)
14741474
- ``DataFrame.__getitem__`` now accepts dictionaries and dictionary keys as list-likes of labels, consistently with ``Series.__getitem__`` (:issue:`21294`)

0 commit comments

Comments
 (0)