79640054

Date: 2025-05-27 08:11:26
Score: 0.5
Natty:
Report link

I had the same issue when importing data from a.csv file using pandas.

I extracted the data, which gave me a list of lists.

I merged the list of lists into a list and it worked.

The code is below :

a = df.loc[df['a'] == 0, ['a']].values
a= list(itertools.chain.from_iterable(a))

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Lecureilfou