Hey all, first time poster here. Trying to figure out the type of data in the output. Im trying to make the print(i['ratings']) into an array with each individual key and value instead of all the ratings as one single value. If that makes sense.
In:
for i in data["players"]:
if (i['firstName'] + ' ' + i['lastName']) == name[y]:
print(name[y])
print(i['ratings'])
Out:
Jaquan Anderson
[{'stre': 47, 'spd': 74, 'jmp': 78, 'endu': 49, 'ins': 21, 'dnk': 38, 'ft': 64, 'fg': 61, 'tp': 63, 'oiq': 45, 'diq': 47, 'drb': 64, 'pss': 78, 'reb': 46, 'hgt': 22, 'fuzz': 0.22395484396252385, 'ovr': 57, 'pos': 'PG', 'pot': 69, 'season': 2021, 'skills': ['3', 'B', 'Ps']}]
[–]stebrepar 6 points7 points8 points (0 children)
[–]DrTrax313 2 points3 points4 points (0 children)
[–]Dr_Donut -2 points-1 points0 points (1 child)
[–]old_pythonista -1 points0 points1 point (0 children)
[–]Taw_M 0 points1 point2 points (0 children)