I have a dataframe df and I write this code
df
non_touch = df[df.Census_IsTouchEnabled == 0] touch = df[df.Census_IsTouchEnabled == 1] non_touch_to