COMPAT: fix warning for slice indexers when using floats in iloc that are convertible