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.
549 PHP ssh2_scp_send fails to send files as intended
539 Uncaught (inpromise) Error on Electron: An object could not be cloned
725 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
548 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.