scipy.stats.mstats.find_repeats¶
- scipy.stats.mstats.find_repeats(arr)[source]¶
Find repeats in arr and return a tuple (repeats, repeat_count). Masked values are discarded.
Parameters: arr : sequence
Input array. The array is flattened if it is not 1D.
Returns: repeats : ndarray
Array of repeated values.
counts : ndarray
Array of counts.