Dapatkan semua kolom dengan nama tertentu dalam string

cols = [col for col in df.columns if 'word' in col]
Sooi Versavel