Skip to content

DOC: Fix PR09 errors in several files #36763

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 4 commits into from
Oct 2, 2020
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
3 changes: 2 additions & 1 deletion pandas/core/computation/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pandas/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

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 @@ -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

Expand Down
4 changes: 2 additions & 2 deletions pandas/io/pickle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions pandas/io/pytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down