modin.pandas.DataFrame.axes¶
- property DataFrame.axes: list[pandas.core.indexes.base.Index][source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/.tox/docs/lib/python3.9/site-packages/modin/pandas/dataframe.py#L367-L372)¶
Return 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.
Examples
>>> df = pd.DataFrame({'col1': [1, 2], 'col2': [3, 4]}) >>> df.axes [Index([0, 1], dtype='int64'), Index(['col1', 'col2'], dtype='object')]