Backport PR #35875 on branch 1.1.x (COMPAT: Ensure rolling indexers return intp during take operations)
Backport PR #35875: COMPAT: Ensure rolling indexers return intp during take operations
just `test_slice_irregular_datetime_index_with_nan` on 32bit outstanding which needs to be fixed on master and backported.