mirror of
https://github.com/koodiklinikka/palkkakysely.git
synced 2026-02-20 18:55:15 +00:00
Packagify pulkka
This commit is contained in:
18
pulkka/copy_massaged_data.py
Normal file
18
pulkka/copy_massaged_data.py
Normal 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()
|
||||
Reference in New Issue
Block a user