pandas.plotting.table#

pandas.plotting.table(ax, data, rowLabels=None, colLabels=None, **kwargs)[源代码]#

将DataFrame和Series转换为matplotlib.table的Helper函数。

参数
axMatplotlib轴对象
dataDataFrame或系列

表内容的数据。

**kwargs

要传递给matplotlib.able.table的关键字参数。如果 rowLabelscolLabels 未指定,则将使用数据索引或列名。

退货
Matplotlib表对象