mirror of
https://github.com/koodiklinikka/palkkakysely.git
synced 2026-02-02 02:47:19 +00:00
16 lines
384 B
Python
16 lines
384 B
Python
from pulkka.config import OUT_DIR
|
|
from pulkka.data_ingest import read_data, force_tulot_numeric, force_age_numeric
|
|
from pandas_profiling import ProfileReport
|
|
|
|
|
|
def main():
|
|
df = read_data()
|
|
df = force_tulot_numeric(df)
|
|
df = force_age_numeric(df)
|
|
profile = ProfileReport(df)
|
|
profile.to_file(OUT_DIR / "profiling_report.html")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|