w3resource

Pandas DataFrame property: axes

DataFrame - axes property

The axes property returns a list representing the axes of the DataFrame.

It has the row axis labels and column axis labels as the only members. They are returned in that order.

Syntax:

DataFrame.axes

Example:


Download the Pandas DataFrame Notebooks from here.

PREV : DataFrame - values property
NEXT : DataFrame - ndim property



Follow us on Facebook and Twitter for latest update.