1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-05-08 06:06:00 +02:00

Fix whitespace errors found by flake8

This commit is contained in:
2019-07-28 17:47:28 +03:00
parent c6e7d6d9b5
commit 87b1997051
4 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,6 @@
import pandas as pd
def issn(field):
"""Check if an ISSN is valid.
@ -71,7 +72,6 @@ def separators(field):
if len(match) > 0:
print(f'Invalid multi-value separator: {field}')
return field

View File

@ -1,6 +1,7 @@
import pandas as pd
import re
def whitespace(field):
"""Fix whitespace issues.
@ -34,4 +35,3 @@ def whitespace(field):
new_field = '||'.join(values)
return new_field