Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/scipy/stats/mstats_basic.py: 70%
10 statements
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-12 06:31 +0000
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-12 06:31 +0000
1# This file is not meant for public use and will be removed in SciPy v2.0.0.
2# Use the `scipy.stats` namespace for importing the functions
3# included below.
5import warnings
6from . import _mstats_basic
9__all__ = [ # noqa: F822
10 'argstoarray',
11 'count_tied_groups',
12 'describe',
13 'f_oneway', 'find_repeats','friedmanchisquare',
14 'kendalltau','kendalltau_seasonal','kruskal','kruskalwallis',
15 'ks_twosamp', 'ks_2samp', 'kurtosis', 'kurtosistest',
16 'ks_1samp', 'kstest',
17 'linregress',
18 'mannwhitneyu', 'meppf','mode','moment','mquantiles','msign',
19 'normaltest',
20 'obrientransform',
21 'pearsonr','plotting_positions','pointbiserialr',
22 'rankdata',
23 'scoreatpercentile','sem',
24 'sen_seasonal_slopes','skew','skewtest','spearmanr',
25 'siegelslopes', 'theilslopes',
26 'tmax','tmean','tmin','trim','trimboth',
27 'trimtail','trima','trimr','trimmed_mean','trimmed_std',
28 'trimmed_stde','trimmed_var','tsem','ttest_1samp','ttest_onesamp',
29 'ttest_ind','ttest_rel','tvar',
30 'variation',
31 'winsorize',
32 'brunnermunzel', 'ma', 'masked', 'nomask', 'namedtuple',
33 'distributions', 'stats_linregress', 'stats_LinregressResult',
34 'stats_theilslopes', 'stats_siegelslopes', 'ModeResult',
35 'SpearmanrResult', 'KendalltauResult', 'PointbiserialrResult',
36 'Ttest_1sampResult', 'Ttest_indResult', 'Ttest_relResult',
37 'MannwhitneyuResult', 'KruskalResult', 'trimdoc', 'trim1',
38 'DescribeResult', 'stde_median', 'SkewtestResult', 'KurtosistestResult',
39 'NormaltestResult', 'F_onewayResult', 'FriedmanchisquareResult',
40 'BrunnerMunzelResult'
41]
44def __dir__():
45 return __all__
48def __getattr__(name):
49 if name not in __all__:
50 raise AttributeError(
51 "scipy.stats.mstats_basic is deprecated and has no attribute "
52 f"{name}. Try looking in scipy.stats instead.")
54 warnings.warn(f"Please use `{name}` from the `scipy.stats` namespace, "
55 "the `scipy.stats.mstats_basic` namespace is deprecated.",
56 category=DeprecationWarning, stacklevel=2)
58 return getattr(_mstats_basic, name)