feat: identar o output do json

This commit is contained in:
aulojor
2025-11-11 12:34:14 -01:00
parent 599e456fcf
commit 12d23d2c0c

View File

@@ -35,7 +35,7 @@ def guardar_df(df: pd.DataFrame, fname: str) -> bool:
def guardar_json(df: pd.DataFrame, fname: str) -> bool:
with open(fname , "w") as fp:
try:
df.to_json(fp)
df.to_json(fp, indent=4)
except:
return False
return True