Packagify pulkka

This commit is contained in:
Aarni Koskela
2022-08-31 15:05:37 +03:00
parent df22bd90f1
commit cdc6d9cc89
9 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,18 @@
from pulkka.data_ingest import read_data
def main():
df = read_data()
df.to_html("out/data.html", index=False)
df.to_csv("out/data.csv", index=False)
df.to_excel("out/data.xlsx", index=False)
df.to_json(
"out/data.json",
orient="records",
date_format="iso",
force_ascii=False,
)
if __name__ == "__main__":
main()