df[df.A > 0] # Using a single column’s values to select data df[df > 0] # A where operation for getting. df2 = df.copy() # copy data df2['E'] = ['one', 'one','two','three','four','three'] df2[df2['E'].isin(['two','four'])] # Using the isin() method for filtering: