Python 亂數與統計模組 By 彭彭

喜歡彭彭的教學影片嗎?點擊「加入」按紐取得更多會員服務哦。
加入會員:https://www.youtube.com/channel/UCguZS-y7codLSt6vpkVdnKg/join

1. 亂數模組 random
1.1 隨機選取:choice()、sample()
1.2 隨機調換順序:shuffle()
1.3 取得隨機亂數:random()、uniform()
1.4 取得常態分配亂數:normalvariate()

2. 統計模組 statistics
2.1 計算平均數:mean()
2.2 計算中位數:median()
2.3 計算標準差:stdev()

3. 統計概念與名詞提示:平均數、中位數、標準差、常態分配

更多學習資訊,
請到彭彭的課程網站:https://training.pada-x.com/

Leave your comment

Your email address will not be published. Required fields are marked *