educative.io

Educative

'Series' object has no attribute 'to_numpy'

Getting errors on running the given code here, presumably because of an old version of pandas.

Hello @Aron,

I have tested all the codes by myself and didn’t get any errors. Can you please provide the link to the particular lesson so that I can help you better with it?

Thank You :blush:

Hi @Abdul_Mateen, I tried again like an hour after I posted and then it suddenly worked. Perhaps the version of pandas changed in the mean time? How does it work, I assume it runs in an environment that I can’t control?