Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. d = df
  2. for unit in d.orgUnit.unique()[:6]:
  3. dd = d[d.orgUnit == unit].set_index('date')
  4. plt.figure(figsize=(20,6))
  5. # dd.fact.plot(label='fact')
  6. (dd.wfm - dd.fact).plot(label='wfm error')
  7. (dd.lstm - dd.fact).plot(label='lstm error')
  8. plt.axhline(y=0, color='k')
  9. plt.legend()
  10. plt.title(unit)
  11. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement