替换pandas中两列的值

2024-04-24 23:30:19 发布

您现在位置:Python中文网/ 问答频道 /正文

替换pandas中两列值的最快方法是什么?假设给定值是:

A B
0 2
1 3

我们想得到:

^{pr2}$

Tags: 方法pandaspr2