Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using .filter
#1
 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'
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020