#NEWLINE# def quantile( self , quantile , **kwargs ) : #NEWLINE# #INDENT# window = self . _get_window ( ) #NEWLINE# def f( arg , * args , **kwargs ) : #NEWLINE# #INDENT# minp = _use_window ( self . min_periods , window ) #NEWLINE# return algos . roll_quantile ( arg , window , minp , quantile ) #NEWLINE# #UNINDENT# return self . _apply ( f , 'quantile' , quantile = quantile , ** kwargs )