copulae.core.misc.
rank_data
Assign ranks to data, dealing with ties appropriately. This function works on core as well as vectors
obs (ndarray) – Data to be ranked. Can only be 1 or 2 dimensional.
ndarray
axis ({0, 1}, optional) – The axis to perform the ranking. 0 means row, 1 means column.
ties ({ 'average', 'min', 'max', 'dense', 'ordinal' }, default 'average') – The method used to assign ranks to tied elements. The options are ‘average’, ‘min’, ‘max’, ‘dense’ and ‘ordinal’.
matrix or vector of the same dimension as X containing the pseudo observations
numpy array
See also
pseudo_obs()
The pseudo-observations function