def _compute(self, arrays, dates, assets, mask):
        """
        For each row in the input, compute a like-shaped array of per-row
        ranks.
        """
        return masked_rankdata_2d(
            arrays[0],
            mask,
            self.inputs[0].missing_value,
            self._method,
            self._ascending,
        )
def _compute ( self , arrays , dates , assets , mask ) : return masked_rankdata_2d ( arrays [ 0 ] , mask , self . inputs [ 0 ] . missing_value , self . _method , self . _ascending , )
For each row in the input, compute a like-shaped array of per-row
        ranks.