You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
adding below line to the bottom of glassnode.py, however this is not the optimal way to solve the issue.
try:
df = pd.DataFrame(json.loads(r.text))
df = df.set_index('t')
df.index = pd.to_datetime(df.index, unit='s')
df = df.sort_index()
s = pd.DataFrame()
for r, c in df.iterrows():
for k, v in c['o'].items():
s.loc[r, k] = v
return s
except Exception as e:
print(e)
Activity
TurtleJelly commentedon Feb 1, 2021
adding below line to the bottom of glassnode.py, however this is not the optimal way to solve the issue.