Guest User

Untitled

a guest
Jul 16th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. df1 = pd.DataFrame(np.random.randn(100,5),
  2. columns=['a','b','c','d','e',])
  3.  
  4. s = df1.mean() > 0
  5.  
  6. a False
  7. b False
  8. c True
  9. d True
  10. e False
  11. dtype: bool
Add Comment
Please, Sign In to add comment