I get a method object error.

Asked 2 years ago, Updated 2 years ago, 20 views

It says method object is not possible, but what should I do?

Enter a description of the image here

python

2022-09-30 16:54

1 Answers

I think the reason is that () is not enough.Specifically, df_good['index'].tolist and df_bad['index].tolist.Simply tolist is the name of the method.

tolist() executes the method and returns the list.

This post was posted as a community wiki based on @user39889's comments.


2022-09-30 16:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.