vDataFrame[].iloc¶
In [ ]:
vDataFrame[].iloc(limit: int = 5,
offset: int = 0)
Returns a part of the vcolumn (delimited by an offset and a limit).
Parameters¶
| Name | Type | Optional | Description |
|---|---|---|---|
limit | int | ✓ | Number of elements to display. |
offset | int | ✓ | Number of elements to skip. |
Returns¶
tablesample : An object containing the result. For more information, see utilities.tablesample.
Example¶
In [2]:
from verticapy.datasets import load_titanic
titanic = load_titanic()
titanic["age"].iloc(limit = 3, offset = 100)
Out[2]:
See Also¶
| vDataFrame[].head | Returns the vcolumn head. |
| vDataFrame[].tail | Returns the vcolumn tail. |
