1
0
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:
Alan Orth 2019-07-29 16:15:25 +03:00
parent 9ac9474c69
commit 7b5db1f5d9
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -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)