otp.Source.head (jupyter)#
- Source.head(n=5, **kwargs)#
 Executes the query and returns first
nticks as a pandas dataframe.It is useful in the jupyter case when you want to observe first
nvalues.- Parameters
 - Return type
 
Examples
>>> data = otp.Ticks(X=list('abcdefgik')) >>> data.head()[['X']] X 0 a 1 b 2 c 3 d 4 e
See also
otp.runSource.tail, Source.count