Skip to content

DOC/CLN versionadded etc for 1.3 -> 1.3.0 #41852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/source/user_guide/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -351,14 +351,14 @@ error_bad_lines : boolean, default ``None``
``DataFrame`` that is returned. See :ref:`bad lines <io.bad_lines>`
below.

.. deprecated:: 1.3
.. deprecated:: 1.3.0
The ``on_bad_lines`` parameter should be used instead to specify behavior upon
encountering a bad line instead.
warn_bad_lines : boolean, default ``None``
If error_bad_lines is ``False``, and warn_bad_lines is ``True``, a warning for
each "bad line" will be output.

.. deprecated:: 1.3
.. deprecated:: 1.3.0
The ``on_bad_lines`` parameter should be used instead to specify behavior upon
encountering a bad line instead.
on_bad_lines : {{'error', 'warn', 'skip'}}, default 'error'
Expand All @@ -369,7 +369,7 @@ on_bad_lines : {{'error', 'warn', 'skip'}}, default 'error'
- 'warn', print a warning when a bad line is encountered and skip that line.
- 'skip', skip bad lines without raising or warning when they are encountered.

.. versionadded:: 1.3
.. versionadded:: 1.3.0

.. _io.dtypes:

Expand Down
6 changes: 3 additions & 3 deletions doc/source/user_guide/window.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ which will first group the data by the specified keys and then perform a windowi
to compute the rolling sums to preserve accuracy as much as possible.


.. versionadded:: 1.3
.. versionadded:: 1.3.0

Some windowing operations also support the ``method='table'`` option in the constructor which
performs the windowing operation over an entire :class:`DataFrame` instead of a single column or row at a time.
Expand Down Expand Up @@ -159,7 +159,7 @@ By default the labels are set to the right edge of the window, but a

This can also be applied to datetime-like indices.

.. versionadded:: 1.3
.. versionadded:: 1.3.0

.. ipython:: python

Expand Down Expand Up @@ -332,7 +332,7 @@ Numba will be applied in potentially two routines:
#. If ``func`` is a standard Python function, the engine will `JIT <https://numba.pydata.org/numba-doc/latest/user/overview.html>`__ the passed function. ``func`` can also be a JITed function in which case the engine will not JIT the function again.
#. The engine will JIT the for loop where the apply function is applied to each window.

.. versionadded:: 1.3
.. versionadded:: 1.3.0

``mean``, ``median``, ``max``, ``min``, and ``sum`` also support the ``engine`` and ``engine_kwargs`` arguments.

Expand Down
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -8744,7 +8744,7 @@ def applymap(
Additional keyword arguments to pass as keywords arguments to
`func`.

.. versionadded:: 1.3
.. versionadded:: 1.3.0

Returns
-------
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/formats/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Styler(StylerRenderer):
``{``, ``}``, ``~``, ``^``, and ``\`` in the cell display string with
LaTeX-safe sequences.

... versionadded:: 1.3.0
.. versionadded:: 1.3.0

Attributes
----------
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/json/_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def read_json(
How encoding errors are treated. `List of possible values
<https://docs.python.org/3/library/codecs.html#error-handlers>`_ .

.. versionadded:: 1.3
.. versionadded:: 1.3.0

lines : bool, default False
Read the file as a json object per line.
Expand Down
10 changes: 5 additions & 5 deletions pandas/io/parsers/readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
``open()``. Otherwise, ``errors="strict"`` is passed to ``open()``.
This behavior was previously only the case for ``engine="python"``.

.. versionchanged:: 1.3
.. versionchanged:: 1.3.0

``encoding_errors`` is a new argument. ``encoding`` has no longer an
influence on how encoding errors are handled.
Expand All @@ -317,7 +317,7 @@
How encoding errors are treated. `List of possible values
<https://docs.python.org/3/library/codecs.html#error-handlers>`_ .

.. versionadded:: 1.3
.. versionadded:: 1.3.0

dialect : str or csv.Dialect, optional
If provided, this parameter will override values (default or not) for the
Expand All @@ -331,14 +331,14 @@
If False, then these "bad lines" will be dropped from the DataFrame that is
returned.

.. deprecated:: 1.3
.. deprecated:: 1.3.0
The ``on_bad_lines`` parameter should be used instead to specify behavior upon
encountering a bad line instead.
warn_bad_lines : bool, default ``None``
If error_bad_lines is False, and warn_bad_lines is True, a warning for each
"bad line" will be output.

.. deprecated:: 1.3
.. deprecated:: 1.3.0
The ``on_bad_lines`` parameter should be used instead to specify behavior upon
encountering a bad line instead.
on_bad_lines : {{'error', 'warn', 'skip'}}, default 'error'
Expand All @@ -349,7 +349,7 @@
- 'warn', raise a warning when a bad line is encountered and skip that line.
- 'skip', skip bad lines without raising or warning when they are encountered.

.. versionadded:: 1.3
.. versionadded:: 1.3.0

delim_whitespace : bool, default False
Specifies whether or not whitespace (e.g. ``' '`` or ``'\t'``) will be
Expand Down