pandas / 1 / reference / api / pandas.plotting.table.html

pandas.plotting.table

pandas.plotting.table(ax, data, rowLabels=None, colLabels=None, **kwargs)[source]

Helper function to convert DataFrame and Series to matplotlib.table.

Parameters
ax:Matplotlib axes object
data:DataFrame or Series

Data for table contents.

**kwargs

Keyword arguments to be passed to matplotlib.table.table. If rowLabels or colLabels is not specified, data index or column name will be used.

Returns
matplotlib table object

© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.5.0/reference/api/pandas.plotting.table.html