### Feature Type - [ ] Adding new functionality to pandas - [ ] Changing existing functionality in pandas - [ ] Removing existing functionality in pandas ### Problem Description <img width="1348" alt="Image" src="https://github.com/user-attachments/assets/c4104157-1e97-4455-853b-371e9bbea1bf" /> Since the bool method has been deprecated, there should be no prompt here. I can start writing a PR to fix this minor issue. This issue does not cause a serious bug, so I consider it a functional improvement and have submitted it here. ### Feature Description 修复下面的问题 <img width="1348" alt="Image" src="https://github.com/user-attachments/assets/c4104157-1e97-4455-853b-371e9bbea1bf" /> ### Alternative Solutions Modify the code here <img width="1348" alt="Image" src="https://github.com/user-attachments/assets/c4104157-1e97-4455-853b-371e9bbea1bf" /> ### Additional Context _No response_