BUG: Make sure that head/tail are iloc based, (GH5370)
Merge pull request #5373 from jreback/float_index

BUG: Make sure that head/tail are iloc based, (GH5370)