Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 61a2a3f

Browse files
committed
add more translations of statistics.quantiles
1 parent 8c80e3a commit 61a2a3f

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

library/statistics.po

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2023-05-03 00:17+0000\n"
12-
"PO-Revision-Date: 2023-07-09 21:06+0800\n"
12+
"PO-Revision-Date: 2023-07-09 21:14+0800\n"
1313
"Last-Translator: Adrian Liaw <[email protected]>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1515
"tw)\n"
@@ -814,6 +814,8 @@ msgid ""
814814
"Divide *data* into *n* continuous intervals with equal probability. Returns "
815815
"a list of ``n - 1`` cut points separating the intervals."
816816
msgstr ""
817+
"將 *data* 分成 *n* 個具有相等機率的連續區間。回傳一個包含 ``n - 1`` 個用於切"
818+
"分各區間的分隔點的 list。"
817819

818820
#: ../../library/statistics.rst:580
819821
msgid ""
@@ -822,27 +824,36 @@ msgid ""
822824
"*data* into 100 equal sized groups. Raises :exc:`StatisticsError` if *n* is "
823825
"not least 1."
824826
msgstr ""
827+
"將 *n* 設為 4 以表示四分位數 (quartile) (預設值)。將 *n* 設置為 100 表示百"
828+
"分位數 (percentile),這將給出 99 個分隔點將 *data* 分成 100 個大小相等的組。"
829+
"如果 *n* 不是至少為 1,則引發 `StatisticsError`。"
825830

826831
#: ../../library/statistics.rst:585
827832
msgid ""
828833
"The *data* can be any iterable containing sample data. For meaningful "
829834
"results, the number of data points in *data* should be larger than *n*. "
830835
"Raises :exc:`StatisticsError` if there are not at least two data points."
831836
msgstr ""
837+
"*data* 可以是包含樣本資料的任何 iterable。為了取得有意義的結果,*data* 中的資"
838+
"料點數量應大於 *n*。如果資料點少於兩個,則引發 :exc:`StatisticsError`。"
832839

833840
#: ../../library/statistics.rst:589
834841
msgid ""
835842
"The cut points are linearly interpolated from the two nearest data points. "
836843
"For example, if a cut point falls one-third of the distance between two "
837844
"sample values, ``100`` and ``112``, the cut-point will evaluate to ``104``."
838845
msgstr ""
846+
"分隔點是從兩個最近的資料點線性內插值計算出來的。舉例來說,如果分隔點落在兩個"
847+
"樣本值 ``100`` 與 ``112`` 之間的距離三分之一處,則分隔點的值將為 ``104``。"
839848

840849
#: ../../library/statistics.rst:594
841850
msgid ""
842851
"The *method* for computing quantiles can be varied depending on whether the "
843852
"*data* includes or excludes the lowest and highest possible values from the "
844853
"population."
845854
msgstr ""
855+
"計算分位數的 *method* 可以根據 *data* 是否包含或排除來自母體的最小與最大可能"
856+
"的值而改變。"
846857

847858
#: ../../library/statistics.rst:598
848859
msgid ""
@@ -853,6 +864,10 @@ msgid ""
853864
"them and assigns the following percentiles: 10%, 20%, 30%, 40%, 50%, 60%, "
854865
"70%, 80%, 90%."
855866
msgstr ""
867+
"預設的 *method* 是 \"exclusive\",用於從可能找到比樣本更極端的值的母體中抽樣的"
868+
"樣本資料。對於 *m* 個已排序的資料點,計算出低於 *i-th* 的部分為 ``i / (m + "
869+
"1)``。給定九個樣本資料,此方法將對資料排序且計算下列百分位數:10%、20%、30%、"
870+
"40%、50%、60%、70%、80%、90%。"
856871

857872
#: ../../library/statistics.rst:605
858873
msgid ""
@@ -865,6 +880,11 @@ msgid ""
865880
"assigns the following percentiles: 0%, 10%, 20%, 30%, 40%, 50%, 60%, 70%, "
866881
"80%, 90%, 100%."
867882
msgstr ""
883+
"若將 *method* 設為 \"inclusive\",則用於描述母體或者已知包含母體中最極端值的樣"
884+
"本資料。在 *data* 中的最小值被視為第 0 百分位數,最大值為第 100 百分位數。對"
885+
"於 *m* 個已排序的資料點,計算出低於 *i-th* 的部分為 ``(i - 1) / (m - 1)``。給"
886+
"定十一個個樣本資料,此方法將對資料排序且計算下列百分位數:0%、10%、20%、30%、"
887+
"40%、50%、60%、70%、80%、90%、100%。"
868888

869889
#: ../../library/statistics.rst:629
870890
msgid ""

0 commit comments

Comments
 (0)