Skip to content

Commit de500b9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 75ad64b commit de500b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/parsers/base_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ def _check_data_length(
614614
columns: list of column names
615615
data: list of array-likes containing the data column-wise.
616616
"""
617-
if columns and len(data)!=len(columns):
617+
if columns and len(data) != len(columns):
618618
warnings.warn(
619619
f"Length of header or names ({len(columns)}) does not match number of "
620620
f"fields in line ({len(data)}). Extra field will be dropped.",

0 commit comments

Comments
 (0)