79081485

Date: 2024-10-12 17:00:34
Score: 1
Natty:
Report link

no need for rexeg ...

given your inputs

df[df['col1'].apply(lambda x: any(x.startswith(prefix) for prefix in prefixes))]
       col1
0     12345
2  54467899

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ticktalk