Examples

In [2]:
import numpy as np
import pandas as pd
In [3]:
df = pd.DataFrame({'c1': [2, 3], 'c2': [4, 5]})
df.axes
Out[3]:
[RangeIndex(start=0, stop=2, step=1), Index(['c1', 'c2'], dtype='object')]