📜  python pandas 将系列转换为百分比 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:45.972000             🧑  作者: Mango

代码示例1
df[['PercentageSplit']] = ( 100 * df[['PercentageSplit']] ).round(2).astype(str) + "%" # The rounding is optional