Python Forum

Full Version: Using .filter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
 df = pd.read_csv(file)
   
    df2 = df.filter(regex= 'Bottom')
    print(df2)
I have this, I am wondering if I could somehow search for more than just 'Bottom' and also get 'left' and 'Right'