Skip to content

pd.Series.head

pandas.Series.head(n=5)

Supported Arguments

argument datatypes
n Integer

Example Usage

>>> @bodo.jit
... def f(S):
...     return S.head(10)
>>> S = pd.Series(np.arange(100))
>>> f(S)
0    0
1    1
2    2
3    3
4    4
5    5
6    6
7    7
8    8
9    9
dtype: int64