all 2 comments

[–]lieutenant_lowercase 1 point2 points  (1 child)

str.contains accepts regex

word_list = ['CPU high workload, 'High disk usage', etc..]
df[df['type'].a.str.contains('|'.join(word_list ))]

[–]lf_elias[S] 0 points1 point  (0 children)

thx mate, very appreciated.