Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # model
- t_min = data.index.min()
- t_max = pd.Timestamp('2015-01-01')
- plt.figure(figsize=(18,5))
- plt.xlim(t_min, t_max)
- location_filter = data.location == 'Fitzroy Gardens'
- time_filter = data.index < t_max
- data_filtered = data[location_filter & time_filter]
- #boards = data_filtered.boardid.unique()
- plt.plot(data_filtered.index, data_filtered.temp_avg, ',', c='g', alpha=.9)
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment