scipy.stats.mstats.find_repeats#

scipy.stats.mstats.find_repeats(arr)[source]#

Find repeats in arr and return a tuple (repeats, repeat_count).

The input is cast to float64. Masked values are discarded.

Parameters
arrsequence

Input array. The array is flattened if it is not 1D.

Returns
repeatsndarray

Array of repeated values.

countsndarray

Array of counts.