mirror of
https://github.com/koodiklinikka/palkkakysely.git
synced 2026-02-14 04:52:40 +00:00
Embetter massaged data formats
This commit is contained in:
@@ -3,9 +3,15 @@ from data_ingest import read_data
|
||||
|
||||
def main():
|
||||
df = read_data()
|
||||
df.to_html("out/data.html")
|
||||
df.to_csv("out/data.csv")
|
||||
df.to_excel("out/data.xlsx")
|
||||
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__":
|
||||
|
||||
Reference in New Issue
Block a user