If you want to choose the columns that start with a word, use df.columns.str.startwith('word')
. Above is an example.
The columns that are False will not be returned
If you want to choose the columns that start with a word, use df.columns.str.startwith('word')
. Above is an example.
The columns that are False will not be returned