otp.Source.tail (jupyter)#
- Source.tail(n=5, **kwargs)#
Executes the query and returns last
n
ticks as a pandas dataframe.It is useful in the jupyter case when you want to observe last
n
values.- Parameters
- Return type
Examples
>>> data = otp.Ticks(X=list('abcdefgik')) >>> data.tail()[['X']] X 0 e 1 f 2 g 3 i 4 k
See also