本文簡要介紹 python 語言中 scipy.stats.mstats.tmin
的用法。
用法:
scipy.stats.mstats.tmin(a, lowerlimit=None, axis=0, inclusive=True)#
計算修剪後的最小值
- a: array_like
值數組
- lowerlimit: 無或浮點數,可選
輸入數組中小於給定限製的值將被忽略。當 lowerlimit 為 None 時,則使用所有值。默認值為無。
- axis: int 或無,可選
操作的軸。默認值為 0。如果沒有,則計算整個數組 a。
- inclusive: {真,假},可選
此標誌確定是否包含完全等於下限的值。默認值是true。
- tmin: 浮點數,int 或 ndarray
參數 ::
返回 ::
注意:
有關
tmin
的更多詳細信息,請參閱scipy.stats.tmin
。例子:
>>> import numpy as np >>> from scipy.stats import mstats >>> a = np.array([[6, 8, 3, 0], ... [3, 2, 1, 2], ... [8, 1, 8, 2], ... [5, 3, 0, 2], ... [4, 7, 5, 2]]) ... >>> mstats.tmin(a, 5) masked_array(data=[5, 7, 5, --], mask=[False, False, False, True], fill_value=999999)
相關用法
- Python SciPy mstats.tmax用法及代碼示例
- Python SciPy mstats.tmean用法及代碼示例
- Python SciPy mstats.trim用法及代碼示例
- Python SciPy mstats.trima用法及代碼示例
- Python SciPy mstats.winsorize用法及代碼示例
- Python SciPy mstats.argstoarray用法及代碼示例
- Python SciPy mstats.kruskalwallis用法及代碼示例
- Python SciPy mstats.sem用法及代碼示例
- Python SciPy mstats.zscore用法及代碼示例
- Python SciPy mstats.zmap用法及代碼示例
- Python SciPy mstats.mode用法及代碼示例
- Python SciPy mstats.hmean用法及代碼示例
- Python SciPy mstats.variation用法及代碼示例
- Python SciPy mstats.compare_medians_ms用法及代碼示例
- Python SciPy mstats.gmean用法及代碼示例
- Python SciPy mstats.pearsonr用法及代碼示例
- Python SciPy mstats.kruskal用法及代碼示例
- Python SciPy mstats.mquantiles用法及代碼示例
- Python SciPy mstats.count_tied_groups用法及代碼示例
- Python SciPy mstats.chisquare用法及代碼示例
- Python SciPy mstats.describe用法及代碼示例
- Python SciPy mstats.sen_seasonal_slopes用法及代碼示例
- Python SciPy mstats.find_repeats用法及代碼示例
- Python SciPy matlab.loadmat用法及代碼示例
- Python SciPy misc.ascent用法及代碼示例
注:本文由純淨天空篩選整理自scipy.org大神的英文原創作品 scipy.stats.mstats.tmin。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。