我正在尝试格式化数据帧中的一些行。关于这个 pandas page 他们展示了下面使用字典格式化特定列的示例,是否可以用行来代替?
Use a dictionary to format specific columns. df.style.format({'B': "{:0<4.0f}", 'D': '{:+.2f}'})
0.17.1版本新增
临时造型
https://pandas.pydata.org/pandas-docs/version/0.17.1/style.html
所以它很快就要来了