Skip to content

Instantly share code, notes, and snippets.

View seymanurmutlu's full-sized avatar
🏠
Working from home

Şeyma Nur Mutlu seymanurmutlu

🏠
Working from home
View GitHub Profile
@seymanurmutlu
seymanurmutlu / gist:7f1812d45ba9def96bf55219f0481d43
Created September 27, 2022 06:16
aws-user-list-json-to-dataframe.py
import pandas as pd
import json
from pandas import json_normalize
with open('aws-users.json', 'r', encoding = 'utf-16') as file:
data = file.read().replace('\n', '')
dict = json.loads(data)
df2 = json_normalize(dict['Users'])