The method name is all lowercase: tolist
.
So you need to change the offending line to:
x.append(df.values.tolist())
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With