Created
May 3, 2019 05:43
-
-
Save firstfu/decfa33ac79e74ca353d503ca84f5106 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scipy import stats | |
# 常態分佈檢定 | |
staRs = stats.shapiro(df2["正面統計"]) | |
if staRs[1] > 0.05: | |
print('為常態分佈') | |
else: | |
print('不為常態分佈') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment