SHARE
TWEET

Untitled

a guest Jun 27th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import pandas as pd
  2. df = pd.DataFrame({'A': [1, 2, 3], 'B': [1.0, 2.0, 3.0],
  3.                            'C': ['1.1.2010', '2.1.2011', '3.1.2011'],
  4.                            'D': ['1 days', '>=500', '3 days'],
  5.                            'E': ['1', '2', '3']})
  6.      
  7. df2 = df[df["D"] == "1 days"]
  8.      
  9. df1 = df[df["D"] == '>=500']
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top