YouTube Watch History

alt

import json
import requests
import pandas as pd 
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
import json

with open('watch-history.txt',encoding="utf8") as json_file:
    data = json.load(json_file)
len(data)
1047