diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index b4e35d1f22840..a947ede506de2 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -351,14 +351,14 @@ error_bad_lines : boolean, default ``None`` ``DataFrame`` that is returned. See :ref:`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' @@ -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: diff --git a/doc/source/user_guide/window.rst b/doc/source/user_guide/window.rst index c8687f808a802..3e16675737107 100644 --- a/doc/source/user_guide/window.rst +++ b/doc/source/user_guide/window.rst @@ -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. @@ -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 @@ -332,7 +332,7 @@ Numba will be applied in potentially two routines: #. If ``func`` is a standard Python function, the engine will `JIT `__ 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. diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 7545ea9a0733c..cde9364b55cb2 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -8744,7 +8744,7 @@ def applymap( Additional keyword arguments to pass as keywords arguments to `func`. - .. versionadded:: 1.3 + .. versionadded:: 1.3.0 Returns ------- diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 7b88d53dd7f4e..36d5bdb461e87 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -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 ---------- diff --git a/pandas/io/json/_json.py b/pandas/io/json/_json.py index 259850e9a7233..58920420778b2 100644 --- a/pandas/io/json/_json.py +++ b/pandas/io/json/_json.py @@ -461,7 +461,7 @@ def read_json( How encoding errors are treated. `List of possible values `_ . - .. versionadded:: 1.3 + .. versionadded:: 1.3.0 lines : bool, default False Read the file as a json object per line. diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index a384846b7a063..80fca22799aaa 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -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. @@ -317,7 +317,7 @@ How encoding errors are treated. `List of possible values `_ . - .. 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 @@ -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' @@ -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