Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- import matplotlib.pyplot as plt
- data = 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()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement