Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. 0 1 2 date
  2. 153 0.280575 0.810817 0.534509 2000-06-02
  3. 154 0.490319 0.873906 0.465698 2000-06-03
  4. 155 0.070790 0.898340 0.390777 2000-06-04
  5. 156 0.896007 0.824134 0.134484 2000-06-05
  6. 157 0.539633 0.814883 0.976257 2000-06-06
  7. 158 0.772454 0.420732 0.499719 2000-06-07
  8. 159 0.498020 0.495946 0.546043 2000-06-08
  9. 160 0.562385 0.460190 0.480170 2000-06-09
  10. 161 0.924412 0.611929 0.459360 2000-06-10
  11.  
  12. df[df[0] > 0.7] = 0
  13. mask = (df['date'] > '2000-6-1') & (df['date'] <= '2000-6-10')
  14. print(df.loc[mask])
  15.  
  16. TypeError: '>' not supported between instances of 'int' and 'str'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement