I have a df with rows like:
index | text
0 | '28,3" LEDTV K98765 AB12345 EU'
1 | '65" LEDTV K98765 AB12345 EU'
2 | '55,3" LEDTV K98765 AB12345 EU'
3 | 'MON 22,8" LED U754 PL333 DE'
4 | 'DAB Radio Work 34RT55 Blue'
Every TV starts with the size in inch ("28,3" / "65" / "55,3") and has the word "TV" somewhere in the text.
I need to know which of those products are TVs and if yes, if they the screen size is greater than 55".
In this example row 1 and 2 both fit this criterion.
End result should be:
index | text | tvandbiggerthan55
0 | '28,3" LEDTV K98765 AB12345 EU' | 0
1 | '65" LEDTV K98765 AB12345 EU' | 1
2 | '55,3" LEDTV K98765 AB12345 EU' | 1
3 | 'MON 22,8" LED U754 PL333 DE' | 0
4 | 'DAB Radio Work 34RT55 Blue' | 0
How can I check this for the whole column in one go?