pandas.DataFrame.keys# DataFrame.keys()[source]# Get the ‘info axis’ (see Indexing for more). This is index for Series, columns for DataFrame. Returns IndexInfo axis.