import pandas as pdimport matplotlib.pyplot as pltdata = pd.read_csv('/datasets/visits.csv', sep='\t')sample = data.query('id == "3c1e4c52"')data.hist('time_spent', bins=100, range=(0, 1500))plt.show()sample.hist('time_spent', bins=100, range=(0, 1500))plt.show()
12345678910