Skip to content

Commit a0d6386

Browse files
authored
fix: pep8 errors
1 parent e673061 commit a0d6386

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

pandas/core/frame.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3020,11 +3020,13 @@ def to_xml(
30203020
layout of elements and attributes from original output. This
30213021
argument requires ``lxml`` to be installed. Only XSLT 1.0
30223022
scripts and not later versions is currently supported.
3023-
compression : {{'infer', 'gzip', 'bz2', 'zip', 'tar', 'xz', None}}, default 'infer'
3023+
compression : {{'infer', 'gzip', 'bz2',
3024+
'zip', 'tar', 'xz', None}}, default 'infer'
30243025
For on-the-fly decompression of on-disk data. If 'infer', then use
30253026
gzip, bz2, zip, xz or tar if path_or_buffer is a string ending in
3026-
'.gz', '.bz2', '.zip', '.xz' or containing '.tar' respectively, and no decompression
3027-
otherwise. If using 'zip' or 'tar', the archive must contain only one data
3027+
'.gz', '.bz2', '.zip', '.xz' or containing '.tar' respectively,
3028+
and no decompression otherwise.
3029+
If using 'zip' or 'tar', the archive must contain only one data
30283030
file to be read in. Set to None for no decompression.
30293031
{storage_options}
30303032

pandas/io/json/_json.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,9 @@ def read_json(
478478
compression : {{'infer', 'gzip', 'bz2', 'zip', 'xz', 'tar', None}}, default 'infer'
479479
For on-the-fly decompression of on-disk data. If 'infer', then use
480480
gzip, bz2, zip, xz or tar if path_or_buf is a string ending in
481-
'.gz', '.bz2', '.zip', '.xz' or containing '.tar' respectively, and no decompression
482-
otherwise. If using 'zip' or 'tar', the archive must contain only one data
481+
'.gz', '.bz2', '.zip', '.xz' or containing '.tar' respectively,
482+
and no decompression otherwise.
483+
If using 'zip' or 'tar', the archive must contain only one data
483484
file to be read in. Set to None for no decompression.
484485
485486
nrows : int, optional

pandas/io/xml.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,9 @@ def read_xml(
804804
compression : {{'infer', 'gzip', 'bz2', 'zip', 'xz', 'tar', None}}, default 'infer'
805805
For on-the-fly decompression of on-disk data. If 'infer', then use
806806
gzip, bz2, zip, xz, or tar if path_or_buffer is a string ending in
807-
'.gz', '.bz2', '.zip', '.xz', or containing '.tar' respectively, and no decompression
808-
otherwise. If using 'zip' or 'tar', the archive must contain only one data
807+
'.gz', '.bz2', '.zip', '.xz', or containing '.tar' respectively,
808+
and no decompression otherwise.
809+
If using 'zip' or 'tar', the archive must contain only one data
809810
file to be read in. Set to None for no decompression.
810811
811812
{storage_options}

0 commit comments

Comments
 (0)