We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75ad64b commit de500b9Copy full SHA for de500b9
pandas/io/parsers/base_parser.py
@@ -614,7 +614,7 @@ def _check_data_length(
614
columns: list of column names
615
data: list of array-likes containing the data column-wise.
616
"""
617
- if columns and len(data)!=len(columns):
+ if columns and len(data) != len(columns):
618
warnings.warn(
619
f"Length of header or names ({len(columns)}) does not match number of "
620
f"fields in line ({len(data)}). Extra field will be dropped.",
0 commit comments