adding new script
parent
3b78a0dbce
commit
febb5d721b
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue