columns type(df.columns) # pandas.core.indexes.base.Index str type(df.str) # pandas.core.strings.StringMethods