Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get all columns names starting with pandas

starts_with_foo = [col for col in df if col.startswith('foo')]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #columns #names #starting #pandas
ADD COMMENT
Topic
Name
9+1 =