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