scipy.stats.mstats.
idealfourths#
- scipy.stats.mstats.idealfourths(data, axis=None)[source]#
Returns an estimate of the lower and upper quartiles.
Uses the ideal fourths algorithm.
Deprecated since version 2.0.0:
scipy.stats.mstats.idealfourthsis deprecated as of SciPy 2.0.0 and will be removed, along with thescipy.stats.mstatsnamespace, in SciPy 2.4.0. SciPy offers no replacement for this function.- Parameters:
- dataarray_like
Input array.
- axisint, optional
Axis along which the quartiles are estimated. If None, the arrays are flattened.
- Returns:
- idealfourths{list of floats, masked array}
Returns the two internal values that divide data into four parts using the ideal fourths algorithm either along the flattened array (if axis is None) or along axis of data.