text_plain_output_1.png
import json

id_to_cat = {}
with open('/kaggle/input/youtube-new/US_category_id.json', 'r') as f:
    data = json.load(f)
    for category in data['items']:
        id_to_cat[category['id']] = category['snippet']['title']

id_to_cat