1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-11-22 05:45:02 +01:00
csv-metadata-quality/tests
Alan Orth 330a7b7b9c
Don't unnecessarily rewrite DataFrames for checks
By using df[column] = df[column].apply(check...) we were re-writing
the DataFrame every time we returned from a check. We don't actuall
y need to return a value at all, as the point of checks is to print
a warning to the screen. In Python a "return" statement without a v
ariable returns None.

I haven't measured the impact of this, but I assume it will mean we
are faster and use less memory.
2021-03-16 16:04:19 +02:00
..
__init__.py Add initial tests 2019-07-27 00:36:40 +03:00
test_check.py Don't unnecessarily rewrite DataFrames for checks 2021-03-16 16:04:19 +02:00
test_fix.py Add tests for unnecessary multi-value separators 2021-01-03 15:37:18 +02:00