iloc¶ IntegerLocation.__getitem__()¶ Get item(s) from the frame using integer location. Parameters¶ argint or sliceThe integer or slice to index. Returns¶ Series or DataFrameThe indexed data. Examples¶ >>> iloc[5] Series(...) >>> iloc[2:8] DataFrame(...)