Skip to content

Commit 5ec0b6e

Browse files
Adds translations of library/statistics.po (#445)
* Adds translations of library/statistics.po * Update library/statistics.po Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com> * Update library/statistics.po Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com> --------- Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
1 parent 17729bd commit 5ec0b6e

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

library/statistics.po

+22-10
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-02 21:25+0800\n"
12+
"PO-Revision-Date: 2023-07-04 14:50+0800\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1515
"tw)\n"
@@ -72,9 +72,9 @@ msgid ""
7272
"``quantiles()``. The ``NaN`` values should be stripped before calling these "
7373
"functions::"
7474
msgstr ""
75-
"有些資料集使用 ``NaN`` (非數)來表示缺漏的資料。由於 NaN 具有特殊的比"
76-
"較語義,在排序資料或是統計出現次數的統計函數中,會引發意料之外或是未定義的行"
77-
"為。受影響的函數包含 ``median()``、``median_low()``、 ``median_high()``、 "
75+
"有些資料集使用 ``NaN`` (非數)來表示缺漏的資料。由於 NaN 具有特殊的比較語"
76+
",在排序資料或是統計出現次數的統計函數中,會引發意料之外或是未定義的行為。"
77+
"受影響的函數包含 ``median()``、``median_low()``、 ``median_high()``、 "
7878
"``median_grouped()``、 ``mode()``、 ``multimode()`` 以及 ``quantiles()``。在"
7979
"呼叫這些函數之前,應該先移除 NaN 值:"
8080

@@ -296,10 +296,10 @@ msgid ""
296296
"a more robust, although less efficient, measure of `central tendency "
297297
"<https://en.wikipedia.org/wiki/Central_tendency>`_, see :func:`median`."
298298
msgstr ""
299-
"平均值強烈受到\\ `離群值 (outliers) <https://en.wikipedia.org/wiki/Outlier>`_ "
300-
"的影響,且不一定能當作這些資料點的典型範例。若要使用更穩健但效率較低的\\ `集中"
301-
"趨勢 (central tendency) <https://en.wikipedia.org/wiki/Central_tendency>`_ 度"
302-
",請參考 :func:`median`。"
299+
"平均值強烈受到\\ `離群值 (outliers) <https://en.wikipedia.org/wiki/"
300+
"Outlier>`_ 的影響,且不一定能當作這些資料點的典型範例。若要使用更穩健但效率較"
301+
"低的\\ `集中趨勢 (central tendency) <https://en.wikipedia.org/wiki/"
302+
"Central_tendency>`_ 度量,請參考 :func:`median`。"
303303

304304
#: ../../library/statistics.rst:154
305305
msgid ""
@@ -309,45 +309,57 @@ msgid ""
309309
"the entire population rather than a sample, then ``mean(data)`` is "
310310
"equivalent to calculating the true population mean μ."
311311
msgstr ""
312+
"樣本平均數提供了對真實母體平均數的不偏估計,所以從所有可能的樣本中取平均值"
313+
"時,``mean(sample)`` 會收斂至整個母體的真實平均值。若 *data* 為整個母體而非單"
314+
"一樣本,則 ``mean(data)`` 等同於計算真實的母體平均數 μ。"
312315

313316
#: ../../library/statistics.rst:163
314317
msgid "Convert *data* to floats and compute the arithmetic mean."
315-
msgstr ""
318+
msgstr "將 *data* 轉換為浮點數並計算其算數平均數。"
316319

317320
#: ../../library/statistics.rst:165
318321
msgid ""
319322
"This runs faster than the :func:`mean` function and it always returns a :"
320323
"class:`float`. The *data* may be a sequence or iterable. If the input "
321324
"dataset is empty, raises a :exc:`StatisticsError`."
322325
msgstr ""
326+
"這個函式運算比 :func:`mean` 更快,並且它總是回傳一個 :class:`float`。*data* "
327+
"可以是一個 sequence 或者 iterable。如果輸入的資料為空,則引發 :exc:"
328+
"`StatisticsError`。"
323329

324330
#: ../../library/statistics.rst:174
325331
msgid ""
326332
"Optional weighting is supported. For example, a professor assigns a grade "
327333
"for a course by weighting quizzes at 20%, homework at 20%, a midterm exam at "
328334
"30%, and a final exam at 30%:"
329335
msgstr ""
336+
"支援選擇性的加權。例如,一位教授以 20% 的比重計算小考分數,20% 的比重計算作業分"
337+
"數,30% 的比重計算期中考試分數,以及 30% 的比重計算期末考試分數:"
330338

331339
#: ../../library/statistics.rst:185
332340
msgid ""
333341
"If *weights* is supplied, it must be the same length as the *data* or a :exc:"
334342
"`ValueError` will be raised."
335343
msgstr ""
344+
"如果有提供 *weights*,它必須與 *data* 長度相同,否則將引發 :exc:"
345+
"`ValueError`。"
336346

337347
#: ../../library/statistics.rst:190 ../../library/statistics.rst:258
338348
msgid "Added support for *weights*."
339349
msgstr "新增 *weights* 的支援。"
340350

341351
#: ../../library/statistics.rst:196
342352
msgid "Convert *data* to floats and compute the geometric mean."
343-
msgstr ""
353+
msgstr "將 *data* 轉換成浮點數並計算其幾何平均數。"
344354

345355
#: ../../library/statistics.rst:198
346356
msgid ""
347357
"The geometric mean indicates the central tendency or typical value of the "
348358
"*data* using the product of the values (as opposed to the arithmetic mean "
349359
"which uses their sum)."
350360
msgstr ""
361+
"幾何平均數使用數值的乘積(與之對照,算數平均數使用的是數值的和)來表示 "
362+
"*data* 的集中趨勢或典型值。"
351363

352364
#: ../../library/statistics.rst:202
353365
msgid ""

0 commit comments

Comments
 (0)