AttributeError: ‘DataFrame’ object has no attribute ‘ix’ January 5, 2023 by Tarik try df.iloc[:, integer] .ix is deprecated By the way, df.loc[:,'col_header'] is for str or Boolean indexing