Yuanhao Geng
Yuanhao Geng
- [x] closes #37782 - [x] closes #47182 - [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature - [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit)....
Correctness and Time Benchmark is availble from [here](https://github.com/GYHHAHA/path_algo_perf).
### Describe the bug This Bug 🐛 spent me a lot of time to find the reason. It's super wired when I saw the DataFrame is rendered twice: I thought...