问题描述 python pands使用replace替换不生效,加上了inplace=True仍然没有效果 问题解决 replace执行完全替换搜索,除非你打开regex开关。使用regex=True,它也应该执行部分替换。