我有一个 pandas 数据框列,我希望将其格式化为小数点后两位。
这样:
10.1
显示为:
10.10
我怎样才能做到这一点?我已经尝试过四舍五入。
python-3.x pandas
pandas ×1
python-3.x ×1