Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
get columns containing string
J.Rodriguez
Programming language:
Whatever
2021-07-21 00:55:58
0
Q:
get columns containing string
OldCurmudgeon
Code:
Whatever
2021-07-02 14:10:28
df2 = df.filter(regex='spike') print(df2)
0
Tags
string
get
con
columns
Related
panda search strings in column
get column names
find a string in a dataframe
get column names method
how to find columns of a dataframe
New to Communities?
Join the community