1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-12-22 12:12:18 +01:00
csv-metadata-quality/csv_metadata_quality
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 Refactor as package with subpackages 2019-07-26 22:11:10 +03:00
__main__.py Sort imports with isort 2019-08-29 01:15:04 +03:00
app.py Don't unnecessarily rewrite DataFrames for checks 2021-03-16 16:04:19 +02:00
check.py Don't unnecessarily rewrite DataFrames for checks 2021-03-16 16:04:19 +02:00
experimental.py Don't unnecessarily rewrite DataFrames for checks 2021-03-16 16:04:19 +02:00
fix.py csv_metadata_quality/fix.py: Fixes should be green 2021-03-11 11:47:24 +02:00
util.py Add utility function to check normalization 2020-01-15 12:17:52 +02:00
version.py Bump version to 0.4.6-dev 2021-03-11 22:44:36 +02:00