CBIR
CBIR copied to clipboard
AttributeError: 'DataFrame' object has no attribute 'ix'
python src/color.py has some problems:
File "src/color.py", line 164, in <module>
hist = color.histogram(data.ix[0,0], type='global')
return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'ix'
This is probably just a versioning error. Alternatively, you can try using .iloc or .loc once you have the right version of pandas installed.
.ix is deprecated. Try changing those instances to .iloc or downgrade your version of Pandas.