小智 0
您可以使用:
styler = df.style
styler.set_table_styles([
{"selector": "tr", "props": "line-height: 40px;"},
{"selector": "td,th", "props": "line-height: inherit; padding: 0;"}
])
Run Code Online (Sandbox Code Playgroud)
更改行高以增加行高
| 归档时间: |
|
| 查看次数: |
815 次 |
| 最近记录: |