Home > Software design >  I need to loop over a big JSON - Pandas/Python
I need to loop over a big JSON - Pandas/Python

Time:06-08

I have a JSON file that looks like this:

[    {
            "id": 121,
            "name": "Lebanon",
            "iso3": "LBN",
            "iso2": "LB",
            "numeric_code": "422",
            "phone_code": "961",
            "capital": "Beirut",
            "currency": "LBP",
            "currency_name": "Lebanese pound",
            "currency_symbol": "£",
            "tld": ".lb",
            "native": "لبنان",
            "region": "Asia",
            "subregion": "Western Asia",
            "timezones": [
                {
                    "zoneName": "Asia\/Beirut",
                    "gmtOffset": 7200,
                    "gmtOffsetName": "UTC 02:00",
                    "abbreviation": "EET",
                    "tzName": "Eastern European Time"
                }
            ],
            "translations": {
                "kr": "레바논",
                "br": "Líbano",
                "pt": "Líbano",
                "nl": "Libanon",
                "hr": "Libanon",
                "fa": "لبنان",
                "de": "Libanon",
                "es": "Líbano",
                "fr": "Liban",
                "ja": "レバノン",
                "it": "Libano",
                "cn": "黎巴嫩",
                "tr": "Lübnan"
            },
            "latitude": "33.83333333",
            "longitude": "35.83333333",
            "emoji": "           
  • Related