Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions pyCon materials/PyCon un-sad Pandas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,20 @@
"4 -73.81854 3.0 169.3900 89.3900 "
]
},
for stat in stats_obj:
print(stat)
print(type(stat))
df=pd.read_json(stat,orient='columns')
# with open("output.txt","a+") as f:
# print("hello")
f.write(str( stat)+"\n\n")
# f.close()

"""
#for conversion to json
my_json=new_bytes.decode('utf8').replace("'",'"')
data=json.loads(my_json)
s=json.dumps(data, intent=4, sort_keys=True)"""
"execution_count": 53,
"metadata": {},
"output_type": "execute_result"
Expand Down