diff --git a/pandas/core/computation/eval.py b/pandas/core/computation/eval.py index 630606b4d8111..913f135b449f3 100644 --- a/pandas/core/computation/eval.py +++ b/pandas/core/computation/eval.py @@ -212,7 +212,8 @@ def eval( truediv : bool, optional Whether to use true division, like in Python >= 3. - deprecated:: 1.0.0 + + .. deprecated:: 1.0.0 local_dict : dict or None, optional A dictionary of local variables, taken from locals() by default. diff --git a/pandas/core/flags.py b/pandas/core/flags.py index 15966d8ddce2a..6a09bfa3bd082 100644 --- a/pandas/core/flags.py +++ b/pandas/core/flags.py @@ -10,7 +10,7 @@ class Flags: Parameters ---------- obj : Series or DataFrame - The object these flags are associated with + The object these flags are associated with. allows_duplicate_labels : bool, default True Whether to allow duplicate labels in this object. By default, duplicate labels are permitted. Setting this to ``False`` will diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 9b2540a1ce043..75fdeb122a074 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -2337,7 +2337,7 @@ def to_parquet( be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error will be raised if providing this argument with a local path or a file-like buffer. See the fsspec and backend storage implementation - docs for the set of allowed keys and values + docs for the set of allowed keys and values. .. versionadded:: 1.2.0 diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 6f0aa70625c1d..04e1fc91c5fd4 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2253,7 +2253,7 @@ def to_json( be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error will be raised if providing this argument with a local path or a file-like buffer. See the fsspec and backend storage implementation - docs for the set of allowed keys and values + docs for the set of allowed keys and values. .. versionadded:: 1.2.0 @@ -2777,7 +2777,7 @@ def to_pickle( be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error will be raised if providing this argument with a local path or a file-like buffer. See the fsspec and backend storage implementation - docs for the set of allowed keys and values + docs for the set of allowed keys and values. .. versionadded:: 1.2.0 @@ -3286,7 +3286,7 @@ def to_csv( be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error will be raised if providing this argument with a local path or a file-like buffer. See the fsspec and backend storage implementation - docs for the set of allowed keys and values + docs for the set of allowed keys and values. .. versionadded:: 1.2.0 @@ -9195,7 +9195,7 @@ def shift( extend the index when shifting and preserve the original data. If `freq` is specified as "infer" then it will be inferred from the freq or inferred_freq attributes of the index. If neither of - those attributes exist, a ValueError is thrown + those attributes exist, a ValueError is thrown. axis : {{0 or 'index', 1 or 'columns', None}}, default None Shift direction. fill_value : object, optional diff --git a/pandas/core/groupby/groupby.py b/pandas/core/groupby/groupby.py index f1a61f433fc51..887f50f8dbcd5 100644 --- a/pandas/core/groupby/groupby.py +++ b/pandas/core/groupby/groupby.py @@ -285,7 +285,7 @@ class providing the base-class of operations. .. versionchanged:: 1.1.0 *args - Positional arguments to pass to func + Positional arguments to pass to func. engine : str, default None * ``'cython'`` : Runs the function through C-extensions from cython. * ``'numba'`` : Runs the function through JIT compiled code from numba. @@ -394,7 +394,7 @@ class providing the base-class of operations. .. versionchanged:: 1.1.0 *args - Positional arguments to pass to func + Positional arguments to pass to func. engine : str, default None * ``'cython'`` : Runs the function through C-extensions from cython. * ``'numba'`` : Runs the function through JIT compiled code from numba. diff --git a/pandas/core/series.py b/pandas/core/series.py index d2c702d924136..f2beea5bc7409 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -1458,7 +1458,7 @@ def to_markdown( be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error will be raised if providing this argument with a local path or a file-like buffer. See the fsspec and backend storage implementation - docs for the set of allowed keys and values + docs for the set of allowed keys and values. .. versionadded:: 1.2.0 diff --git a/pandas/io/json/_json.py b/pandas/io/json/_json.py index 51bcb4acddd7e..ef684469dffbb 100644 --- a/pandas/io/json/_json.py +++ b/pandas/io/json/_json.py @@ -525,7 +525,7 @@ def read_json( be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error will be raised if providing this argument with a local path or a file-like buffer. See the fsspec and backend storage implementation - docs for the set of allowed keys and values + docs for the set of allowed keys and values. .. versionadded:: 1.2.0 diff --git a/pandas/io/pickle.py b/pandas/io/pickle.py index 655deb5ca3779..80baa6f78ddd7 100644 --- a/pandas/io/pickle.py +++ b/pandas/io/pickle.py @@ -49,7 +49,7 @@ def to_pickle( be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error will be raised if providing this argument with a local path or a file-like buffer. See the fsspec and backend storage implementation - docs for the set of allowed keys and values + docs for the set of allowed keys and values. .. versionadded:: 1.2.0 @@ -146,7 +146,7 @@ def read_pickle( be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error will be raised if providing this argument with a local path or a file-like buffer. See the fsspec and backend storage implementation - docs for the set of allowed keys and values + docs for the set of allowed keys and values. .. versionadded:: 1.2.0 diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index d62480baed71e..d0ea327a65a1d 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -615,8 +615,8 @@ def keys(self, include: str = "pandas") -> List[str]: ---------- include : str, default 'pandas' - When kind equals 'pandas' return pandas objects - When kind equals 'native' return native HDF5 Table objects + When kind equals 'pandas' return pandas objects. + When kind equals 'native' return native HDF5 Table objects. .. versionadded:: 1.1.0