From febb5d721bb3c137b32c8781631030b29390d8fa Mon Sep 17 00:00:00 2001 From: rforstner Date: Thu, 20 Jan 2022 20:28:49 +0100 Subject: [PATCH] adding new script --- createReport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createReport.py b/createReport.py index 32a3115..ba94ca2 100644 --- a/createReport.py +++ b/createReport.py @@ -64,7 +64,7 @@ def getSLO(DTAPIToken, DTENV, fromDate, toDate): #df = pd.json_normalize(cont['slo']) #python2 - df = pd.read_json(cont['slo']) + df = pd.DataFrame.from_dict(cont['slo']) except Exception as e: print(e) print("No SLO json returned")