Guest User

Untitled

a guest
Dec 11th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Date Budget
  2. 0 2018-02-24 11:20:16 6.35
  3. 1 2018-02-24 11:34:10 5.85
  4. 2 2018-02-24 16:41:12 3.85
  5. 3 2018-02-25 00:55:18 1.10
  6. 4 2018-02-25 01:36:47 -0.90
  7. 5 2018-02-25 03:12:51 -1.90
  8. 6 2018-02-25 11:29:31 -2.90
  9. 7 2018-02-25 18:20:35 -3.65
  10.  
  11. near_zero = df['Budget'].abs().min()
  12.  
  13. near_zero = df.loc[df['Budget'] > 0, 'Budget'].min()
  14. print (near_zero)
  15. 1.1
Add Comment
Please, Sign In to add comment