Guest User

Untitled

a guest
Feb 19th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. import pandas as pd
  2. my_series_a = pd.Series([1,2,2,4,5], name='Group_A')
  3. my_series_b = pd.Series([50,50,70], name='Group_B')
  4. my_series_c = pd.Series([333,222,111,111], name='Group_C')
  5. my_list = [my_series_a, my_series_b, my_series_c]
  6.  
  7. Group Sub-Group
  8. Group_A 1
  9. Group_A 2
  10. Group_A 4
  11. Group_A 5
  12. Group_B 50
  13. Group_B 70
  14. Group_C 333
  15. Group_C 222
  16. Group_C 111
Add Comment
Please, Sign In to add comment