79601815

Date: 2025-05-01 12:05:17
Score: 0.5
Natty:
Report link

Add any() or all(), if this is work.

Snippet:

if df['twitter'].str.lower().str.contains('windows 11').any():
        return 'windows 11'     
    elif df['twitter'].str.lower().str.contains('windows 10').any():
        return 'windows 10'    
    return 'windows 8 or older'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo