Skip to content

Commit 4de9b5b

Browse files
authored
DOC: Fix PR09 errors in several files (#36763)
1 parent 6fc17fa commit 4de9b5b

File tree

9 files changed

+16
-15
lines changed

9 files changed

+16
-15
lines changed

pandas/core/computation/eval.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ def eval(
212212
213213
truediv : bool, optional
214214
Whether to use true division, like in Python >= 3.
215-
deprecated:: 1.0.0
215+
216+
.. deprecated:: 1.0.0
216217
217218
local_dict : dict or None, optional
218219
A dictionary of local variables, taken from locals() by default.

pandas/core/flags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Flags:
1010
Parameters
1111
----------
1212
obj : Series or DataFrame
13-
The object these flags are associated with
13+
The object these flags are associated with.
1414
allows_duplicate_labels : bool, default True
1515
Whether to allow duplicate labels in this object. By default,
1616
duplicate labels are permitted. Setting this to ``False`` will

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2337,7 +2337,7 @@ def to_parquet(
23372337
be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error
23382338
will be raised if providing this argument with a local path or
23392339
a file-like buffer. See the fsspec and backend storage implementation
2340-
docs for the set of allowed keys and values
2340+
docs for the set of allowed keys and values.
23412341
23422342
.. versionadded:: 1.2.0
23432343

pandas/core/generic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,7 +2253,7 @@ def to_json(
22532253
be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error
22542254
will be raised if providing this argument with a local path or
22552255
a file-like buffer. See the fsspec and backend storage implementation
2256-
docs for the set of allowed keys and values
2256+
docs for the set of allowed keys and values.
22572257
22582258
.. versionadded:: 1.2.0
22592259
@@ -2777,7 +2777,7 @@ def to_pickle(
27772777
be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error
27782778
will be raised if providing this argument with a local path or
27792779
a file-like buffer. See the fsspec and backend storage implementation
2780-
docs for the set of allowed keys and values
2780+
docs for the set of allowed keys and values.
27812781
27822782
.. versionadded:: 1.2.0
27832783
@@ -3286,7 +3286,7 @@ def to_csv(
32863286
be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error
32873287
will be raised if providing this argument with a local path or
32883288
a file-like buffer. See the fsspec and backend storage implementation
3289-
docs for the set of allowed keys and values
3289+
docs for the set of allowed keys and values.
32903290
32913291
.. versionadded:: 1.2.0
32923292
@@ -9195,7 +9195,7 @@ def shift(
91959195
extend the index when shifting and preserve the original data.
91969196
If `freq` is specified as "infer" then it will be inferred from
91979197
the freq or inferred_freq attributes of the index. If neither of
9198-
those attributes exist, a ValueError is thrown
9198+
those attributes exist, a ValueError is thrown.
91999199
axis : {{0 or 'index', 1 or 'columns', None}}, default None
92009200
Shift direction.
92019201
fill_value : object, optional

pandas/core/groupby/groupby.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ class providing the base-class of operations.
285285
286286
.. versionchanged:: 1.1.0
287287
*args
288-
Positional arguments to pass to func
288+
Positional arguments to pass to func.
289289
engine : str, default None
290290
* ``'cython'`` : Runs the function through C-extensions from cython.
291291
* ``'numba'`` : Runs the function through JIT compiled code from numba.
@@ -394,7 +394,7 @@ class providing the base-class of operations.
394394
395395
.. versionchanged:: 1.1.0
396396
*args
397-
Positional arguments to pass to func
397+
Positional arguments to pass to func.
398398
engine : str, default None
399399
* ``'cython'`` : Runs the function through C-extensions from cython.
400400
* ``'numba'`` : Runs the function through JIT compiled code from numba.

pandas/core/series.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ def to_markdown(
14581458
be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error
14591459
will be raised if providing this argument with a local path or
14601460
a file-like buffer. See the fsspec and backend storage implementation
1461-
docs for the set of allowed keys and values
1461+
docs for the set of allowed keys and values.
14621462
14631463
.. versionadded:: 1.2.0
14641464

pandas/io/json/_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def read_json(
525525
be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error
526526
will be raised if providing this argument with a local path or
527527
a file-like buffer. See the fsspec and backend storage implementation
528-
docs for the set of allowed keys and values
528+
docs for the set of allowed keys and values.
529529
530530
.. versionadded:: 1.2.0
531531

pandas/io/pickle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def to_pickle(
4949
be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error
5050
will be raised if providing this argument with a local path or
5151
a file-like buffer. See the fsspec and backend storage implementation
52-
docs for the set of allowed keys and values
52+
docs for the set of allowed keys and values.
5353
5454
.. versionadded:: 1.2.0
5555
@@ -146,7 +146,7 @@ def read_pickle(
146146
be parsed by ``fsspec``, e.g., starting "s3://", "gcs://". An error
147147
will be raised if providing this argument with a local path or
148148
a file-like buffer. See the fsspec and backend storage implementation
149-
docs for the set of allowed keys and values
149+
docs for the set of allowed keys and values.
150150
151151
.. versionadded:: 1.2.0
152152

pandas/io/pytables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,8 @@ def keys(self, include: str = "pandas") -> List[str]:
615615
----------
616616
617617
include : str, default 'pandas'
618-
When kind equals 'pandas' return pandas objects
619-
When kind equals 'native' return native HDF5 Table objects
618+
When kind equals 'pandas' return pandas objects.
619+
When kind equals 'native' return native HDF5 Table objects.
620620
621621
.. versionadded:: 1.1.0
622622

0 commit comments

Comments
 (0)