79554453

Date: 2025-04-04 04:24:41
Score: 0.5
Natty:
Report link

This line should be corrected.

my_df['fruits'].apply(lambda x: True for i in my_list if i in x)

The corrected line is:

my_df['check'] = my_df['fruits'].apply(lambda x: any(v in x for v in my_list))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Subir Chowdhury