pandas.DataFrame.keys — pandas 0.24.0rc1 documentation (original) (raw)

DataFrame. keys()[source]

Get the ‘info axis’ (see Indexing for more)

This is index for Series, columns for DataFrame and major_axis for Panel.