Guest User

Untitled

a guest
Jul 16th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. import pandas as pd
  2. s = pd.Series([True]*10, index=[2,1,3,4,5,6,7,8,9,11])
  3.  
  4. 2 True
  5. 1 True
  6. 3 True
  7. 4 True
  8. 5 True
  9. 6 True
  10. 7 True
  11. 8 True
  12. 9 True
  13. 11 True
  14.  
  15. s.loc[2]
Add Comment
Please, Sign In to add comment