79133331

Date: 2024-10-28 12:15:35
Score: 6 🚩
Natty:
Report link

I amended this line of code msk = [isinstance(row, float) for row in df['latitude'].tolist()] to msk = df['latitude'].isnull().tolist() which essentially identifies those rows that have NaN values in the latitude column that I wanted to update. Thank you for the advice from @Anerdw.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (3): Thank you for the advice
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Anerdw
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: CGarden