Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. morph[morph.timestep < 131].groupby([
  2.     'timestep',
  3.     'Cell type'
  4. ]).count()['id_center'].unstack().plot(
  5.     ls='--', ax=ax[1]
  6. )
  7.  
  8. Oder irgendöppis i die richtig:
  9.  
  10. morph_filtered = morph[morph.timestep < 131]
  11. morph_grouped = morph_filtered.groupby(['timestep', 'Cell type'])
  12. morph_foo = morph_grouped.count()['id_center'].unstack()
  13. morph_foo.plot(ls='--', ax=ax[1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement