The error is reported in the eval() function:
I added an if to determine whether it is empty, and it can run normally!
The error is reported in the eval() function:
I added an if to determine whether it is empty, and it can run normally!
This error is due to your syntax problem. I encountered it at that time because print (d.drop()// missed a bracket. Don’t blindly believe in automatic completion. Check it carefully. I’m sure there is something missing or more in this line of code. I hope it will be useful.