SciPy

This is documentation for an old release of SciPy (version 1.6.3). Read this page in the documentation of the latest stable release (version 1.15.1).

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.

Previous topic

scipy.stats.mstats.variation

Next topic

scipy.stats.mstats.sem