Last active
August 5, 2022 21:31
-
-
Save aksinghdce/940d45c09d99becd1636b114c9287c02 to your computer and use it in GitHub Desktop.
Query Pandas DF for substring in column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df[df['A'].str.contains("hello")] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment