mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-11-19 04:27:03 +01:00
csv_metadata_quality/app.py: Remove erroneous comment
This commit is contained in:
parent
9ac9474c69
commit
7b5db1f5d9
@ -21,7 +21,6 @@ def main(argv):
|
|||||||
# Read all fields as strings so dates don't get converted from 1998 to 1998.0
|
# Read all fields as strings so dates don't get converted from 1998 to 1998.0
|
||||||
df = pd.read_csv(args.input_file, dtype=str)
|
df = pd.read_csv(args.input_file, dtype=str)
|
||||||
|
|
||||||
# Fix whitespace in all columns
|
|
||||||
for column in df.columns.values.tolist():
|
for column in df.columns.values.tolist():
|
||||||
# Run whitespace fix on all columns
|
# Run whitespace fix on all columns
|
||||||
df[column] = df[column].apply(fix.whitespace)
|
df[column] = df[column].apply(fix.whitespace)
|
||||||
|
Loading…
Reference in New Issue
Block a user