def ttest_1samp(X):
    return stats.ttest_1samp(X, 0)[0]
perform the reduction type operation
dataset/ETHPy150Open mne-tools/mne-python/mne/stats/tests/test_cluster_level.py/ttest_1samp--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/core/categorical.py/Categorical._reduce