“AttributeError: ‘DataFrame’ object has no attribute ‘ix'”
recently reported when using the ix method of DataFrame after searching on the Internet, is removed from the series.ix
and dataframe.ix
method at the beginning of pandas’ 1.0.0 version.
my solution: use the loc method of DataFrame or the iloc method instead.
check pandas
for details
p>
p>
reference: https://hacpai.com/article/1581255121678