Skip to content

pd.Series.tail

pandas.Series.tail(n=5)

支持的参数

参数 数据类型
n 整数

示例用法

>>> @bodo.jit
... def f(S):
...     return S.tail(10)
>>> S = pd.Series(np.arange(100))
>>> f(S)
90    90
91    91
92    92
93    93
94    94
95    95
96    96
97    97
98    98
99    99
dtype: int64