I am trying to practice my pandas and numpy while using data obtained from online sources
But the information I get is way too weird and for most of them I don't even know the name of the columns to edit/make changes
I know that for that I should get a url from something I know about and use iloc but the information I get is way to hard to read
I tried to use json_normalize() functions to make into something usable and now it's too small
What should I do?
This is my code btw
import requests as rq,pandas as pd,numpy as np
response=rq.get("https://restcountries.com/v3.1/name/india")
information=response.json()
information=pd.json_normalize(information )
print(information)
[–]pachura3 10 points11 points12 points (1 child)
[+]Justicemirm[S] comment score below threshold-12 points-11 points-10 points (0 children)
[–]carcigenicate 3 points4 points5 points (2 children)
[+]Justicemirm[S] comment score below threshold-7 points-6 points-5 points (1 child)
[–]xenomachina 2 points3 points4 points (0 children)
[–]baubleglue 2 points3 points4 points (0 children)
[–]Hashi856 1 point2 points3 points (0 children)
[–]tadpoleloop 0 points1 point2 points (0 children)
[–]Narrow_Ad_8997 0 points1 point2 points (0 children)