Allow parametrizing paths

This commit is contained in:
Aarni Koskela
2022-08-31 15:12:46 +03:00
parent cdc6d9cc89
commit 538bc6083a
6 changed files with 19 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
from pulkka.config import OUT_DIR
from pulkka.data_ingest import read_data, force_tulot_numeric, force_age_numeric
from pandas_profiling import ProfileReport
@@ -7,7 +8,7 @@ def main():
df = force_tulot_numeric(df)
df = force_age_numeric(df)
profile = ProfileReport(df)
profile.to_file("out/profiling_report.html")
profile.to_file(OUT_DIR / "profiling_report.html")
if __name__ == "__main__":