Py学习  »  Python

python中一个wrt另一个wrt或averageIf的平均值

Gangadhar Dixit • 3 年前 • 1595 次点击  

enter image description here

我有一个熊猫df显示,我想计算 按品牌划分的DC平均费率 与excel中的averageif类似的列, 我尝试过groupby mean()之类的方法,但没有给出正确的结果

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/131164
 
1595 次点击  
文章 [ 2 ]  |  最新文章 3 年前