Skip to content

Commit 3f2b18a

Browse files
authored
DOC: Remove 1.0.0 versionadded/versionchanged (#51469)
* DOC: Remove 1.0.0 versionadded/versionchanged * Fix docstrings * Fix
1 parent 4f11580 commit 3f2b18a

34 files changed

+13
-189
lines changed

doc/source/development/policies.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Policies
99
Version policy
1010
~~~~~~~~~~~~~~
1111

12-
.. versionchanged:: 1.0.0
13-
1412
pandas uses a loose variant of semantic versioning (`SemVer`_) to govern
1513
deprecations, API compatibility, and version numbering.
1614

doc/source/user_guide/boolean.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ Nullable Boolean data type
1717
BooleanArray is currently experimental. Its API or implementation may
1818
change without warning.
1919

20-
.. versionadded:: 1.0.0
21-
22-
2320
.. _boolean.indexing:
2421

2522
Indexing with NA values

doc/source/user_guide/indexing.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,6 @@ Selection by label
311311
312312
dfl.loc['20130102':'20130104']
313313
314-
.. warning::
315-
316-
.. versionchanged:: 1.0.0
317-
318-
pandas will raise a ``KeyError`` if indexing with a list with missing labels. See :ref:`list-like Using loc with
319-
missing keys in a list is Deprecated <indexing.deprecate_loc_reindex_listlike>`.
320-
321314
pandas provides a suite of methods in order to have **purely label based indexing**. This is a strict inclusion based protocol.
322315
Every label asked for must be in the index, or a ``KeyError`` will be raised.
323316
When slicing, both the start bound **AND** the stop bound are *included*, if present in the index.
@@ -622,12 +615,6 @@ For getting *multiple* indexers, using ``.get_indexer``:
622615
Indexing with list with missing labels is deprecated
623616
----------------------------------------------------
624617

625-
.. warning::
626-
627-
.. versionchanged:: 1.0.0
628-
629-
Using ``.loc`` or ``[]`` with a list with one or more missing labels will no longer reindex, in favor of ``.reindex``.
630-
631618
In prior versions, using ``.loc[list-of-labels]`` would work as long as *at least 1* of the keys was found (otherwise it
632619
would raise a ``KeyError``). This behavior was changed and will now raise a ``KeyError`` if at least one label is missing.
633620
The recommended alternative is to use ``.reindex()``.

doc/source/user_guide/integer_na.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@ Nullable integer data type
1111
.. note::
1212

1313
IntegerArray is currently experimental. Its API or implementation may
14-
change without warning.
15-
16-
.. versionchanged:: 1.0.0
17-
18-
Now uses :attr:`pandas.NA` as the missing value rather
19-
than :attr:`numpy.nan`.
14+
change without warning. Uses :attr:`pandas.NA` as the missing value.
2015

2116
In :ref:`missing_data`, we saw that pandas primarily uses ``NaN`` to represent
2217
missing data. Because ``NaN`` is a float, this forces an array of integers with

doc/source/user_guide/io.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3634,11 +3634,6 @@ It is often the case that users will insert columns to do temporary computations
36343634
in Excel and you may not want to read in those columns. ``read_excel`` takes
36353635
a ``usecols`` keyword to allow you to specify a subset of columns to parse.
36363636

3637-
.. versionchanged:: 1.0.0
3638-
3639-
Passing in an integer for ``usecols`` will no longer work. Please pass in a list
3640-
of ints from 0 to ``usecols`` inclusive instead.
3641-
36423637
You can specify a comma-delimited set of Excel columns and ranges as a string:
36433638

36443639
.. code-block:: python
@@ -3881,8 +3876,6 @@ Similarly, the :func:`~pandas.to_excel` method can write OpenDocument spreadshee
38813876
Binary Excel (.xlsb) files
38823877
--------------------------
38833878

3884-
.. versionadded:: 1.0.0
3885-
38863879
The :func:`~pandas.read_excel` method can also read binary Excel files
38873880
using the ``pyxlsb`` module. The semantics and features for reading
38883881
binary Excel files mostly match what can be done for `Excel files`_ using
@@ -5419,8 +5412,6 @@ The above example creates a partitioned dataset that may look like:
54195412
ORC
54205413
---
54215414

5422-
.. versionadded:: 1.0.0
5423-
54245415
Similar to the :ref:`parquet <io.parquet>` format, the `ORC Format <https://orc.apache.org/>`__ is a binary columnar serialization
54255416
for data frames. It is designed to make reading data frames efficient. pandas provides both the reader and the writer for the
54265417
ORC format, :func:`~pandas.read_orc` and :func:`~pandas.DataFrame.to_orc`. This requires the `pyarrow <https://arrow.apache.org/docs/python/>`__ library.

doc/source/user_guide/missing_data.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,6 @@ Experimental ``NA`` scalar to denote missing values
753753

754754
Experimental: the behaviour of ``pd.NA`` can still change without warning.
755755

756-
.. versionadded:: 1.0.0
757-
758756
Starting from pandas 1.0, an experimental ``pd.NA`` value (singleton) is
759757
available to represent scalar missing values. At this moment, it is used in
760758
the nullable :doc:`integer <integer_na>`, boolean and

doc/source/user_guide/text.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ Working with text data
1111
Text data types
1212
---------------
1313

14-
.. versionadded:: 1.0.0
15-
1614
There are two ways to store text data in pandas:
1715

1816
1. ``object`` -dtype NumPy array.

doc/source/user_guide/timeseries.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,6 @@ which can be specified. These are computed from the starting point specified by
335335
that was discussed :ref:`above<timeseries.converting.format>`). The
336336
available units are listed on the documentation for :func:`pandas.to_datetime`.
337337

338-
.. versionchanged:: 1.0.0
339-
340338
Constructing a :class:`Timestamp` or :class:`DatetimeIndex` with an epoch timestamp
341339
with the ``tz`` argument specified will raise a ValueError. If you have
342340
epochs in wall time in another timezone, you can read the epochs

doc/source/user_guide/visualization.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,8 +1318,6 @@ with "(right)" in the legend. To turn off the automatic marking, use the
13181318
Custom formatters for timeseries plots
13191319
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13201320

1321-
.. versionchanged:: 1.0.0
1322-
13231321
pandas provides custom formatters for timeseries plots. These change the
13241322
formatting of the axis labels for dates and times. By default,
13251323
the custom formatters are applied only to plots created by pandas with

pandas/_libs/missing.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,6 @@ class NAType(C_NAType):
372372
373373
Experimental: the behaviour of NA can still change without warning.
374374
375-
.. versionadded:: 1.0.0
376-
377375
The NA singleton is a missing value indicator defined by pandas. It is
378376
used in certain new extension dtypes (currently the "string" dtype).
379377
"""

0 commit comments

Comments
 (0)