mirror of
https://github.com/koodiklinikka/palkkakysely.git
synced 2026-02-24 09:56:26 +00:00
Allow parametrizing paths
This commit is contained in:
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user