Forums

Error only happened in schedule task

I have a script running on schedule task but return error pandas.core.indexing.IndexingError: Unalignable boolean Series key provided.

However, when the same script run and test on bash console and python script manually, the script run perfectly.

What is the differences between schedule task with bash console?

How exactly are you running the task and how are you running it in a console? Check if you're using the same Python/package versions in the task and in the console. Maybe add some logging to the script and check if the code operates on the same data?