Derived from the pandas-vet linter.
What it does#
Checks for uses of
.ix on Pandas objects.
Why is this bad?#
.ix method is deprecated as its behavior is ambiguous. Specifically,
it's often unclear whether
.ix is indexing by label or by ordinal position.
Instead, prefer the
.loc method for label-based indexing, and