SyntaxFix
Write A Post
Hire A Developer
Questions
You also can use this code:
spike_cols =[x for x in df.columns[df.columns.str.contains('spike')]]