xref: https://github.com/pydata/pandas/pull/12370 This should be done inside `index.pyx` if the lookup fails and if its a non-float index, then coerce to int, and if its the same lookup again.