Skip to content

Commit 4afab28

Browse files
Translation of library/statistics.po (python#441)
* Adds and refines the translations of library/statistics.po * small fixes: Adds and refines the translations of library/statistics.po * Adds more translations of library/statistics.po - part 2 * Update library/statistics.po Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]> * Update library/statistics.po Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]> * Update library/statistics.po Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]> * Update library/statistics.po Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]> --------- Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
1 parent db4aa57 commit 4afab28

File tree

1 file changed

+36
-15
lines changed

1 file changed

+36
-15
lines changed

library/statistics.po

Lines changed: 36 additions & 15 deletions
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-01 15:29+0800\n"
12+
"PO-Revision-Date: 2023-07-02 21:25+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"
@@ -42,6 +42,9 @@ msgid ""
4242
"statisticians such as Minitab, SAS and Matlab. It is aimed at the level of "
4343
"graphing and scientific calculators."
4444
msgstr ""
45+
"這個模組並非旨在與 `NumPy <https://numpy.org>`_、`SciPy <https://scipy.org/"
46+
">`_ 等第三方函式庫,或者像 Minitab、SAS 和 Matlab 等專門設計給專業統計學家的"
47+
"高階統計軟體互相競爭。此模組的目標在於繪圖和科學計算。"
4548

4649
#: ../../library/statistics.rst:30
4750
msgid ""
@@ -53,6 +56,11 @@ msgid ""
5356
"you may be able to use :func:`map` to ensure a consistent result, for "
5457
"example: ``map(float, input_data)``."
5558
msgstr ""
59+
"除非特別註明,這些函數支援 :class:`int`、:class:`float`、:class:`~decimal."
60+
"Decimal` 以及 :class:`~fractions.Fraction`。目前不支援其他型別(無論是否為數"
61+
"值型別)。含有混合型別的資料的集合亦是尚未定義,且取決於該型別的實作。若你的"
62+
"輸入資料含有混合型別,你可以考慮使用 :func:`map` 來確保結果是一致的,例如:"
63+
"``map(float, input_data)``。"
5664

5765
#: ../../library/statistics.rst:38
5866
msgid ""
@@ -64,6 +72,11 @@ msgid ""
6472
"``quantiles()``. The ``NaN`` values should be stripped before calling these "
6573
"functions::"
6674
msgstr ""
75+
"有些資料集使用 ``NaN`` (非數)來表示缺漏的資料。由於 NaN 具有特殊的比"
76+
"較語義,在排序資料或是統計出現次數的統計函數中,會引發意料之外或是未定義的行"
77+
"為。受影響的函數包含 ``median()``、``median_low()``、 ``median_high()``、 "
78+
"``median_grouped()``、 ``mode()``、 ``multimode()`` 以及 ``quantiles()``。在"
79+
"呼叫這些函數之前,應該先移除 NaN 值:"
6780

6881
#: ../../library/statistics.rst:68
6982
msgid "Averages and measures of central location"
@@ -105,7 +118,7 @@ msgstr ":func:`harmonic_mean`"
105118

106119
#: ../../library/statistics.rst:77
107120
msgid "Harmonic mean of data."
108-
msgstr "資料的調和平均數"
121+
msgstr "資料的調和平均數"
109122

110123
#: ../../library/statistics.rst:78
111124
msgid ":func:`median`"
@@ -163,7 +176,7 @@ msgstr ":func:`quantiles`"
163176

164177
#: ../../library/statistics.rst:84
165178
msgid "Divide data into intervals with equal probability."
166-
msgstr ""
179+
msgstr "將資料分成數個具有相等機率的區間,即分位數 (quantile)。"
167180

168181
#: ../../library/statistics.rst:88
169182
msgid "Measures of spread"
@@ -181,64 +194,64 @@ msgstr ":func:`pstdev`"
181194

182195
#: ../../library/statistics.rst:94
183196
msgid "Population standard deviation of data."
184-
msgstr "資料的母體標準差"
197+
msgstr "資料的母體標準差"
185198

186199
#: ../../library/statistics.rst:95
187200
msgid ":func:`pvariance`"
188201
msgstr ":func:`pvariance`"
189202

190203
#: ../../library/statistics.rst:95
191204
msgid "Population variance of data."
192-
msgstr "資料的母體變異數"
205+
msgstr "資料的母體變異數"
193206

194207
#: ../../library/statistics.rst:96
195208
msgid ":func:`stdev`"
196209
msgstr ":func:`stdev`"
197210

198211
#: ../../library/statistics.rst:96
199212
msgid "Sample standard deviation of data."
200-
msgstr "資料的樣本標準差"
213+
msgstr "資料的樣本標準差"
201214

202215
#: ../../library/statistics.rst:97
203216
msgid ":func:`variance`"
204217
msgstr ":func:`variance`"
205218

206219
#: ../../library/statistics.rst:97
207220
msgid "Sample variance of data."
208-
msgstr "資料的樣本變異數"
221+
msgstr "資料的樣本變異數"
209222

210223
#: ../../library/statistics.rst:101
211224
msgid "Statistics for relations between two inputs"
212-
msgstr ""
225+
msgstr "兩個輸入之間的關係統計"
213226

214227
#: ../../library/statistics.rst:103
215228
msgid ""
216229
"These functions calculate statistics regarding relations between two inputs."
217-
msgstr ""
230+
msgstr "這些函式計算兩個輸入之間的關係統計數據。"
218231

219232
#: ../../library/statistics.rst:106
220233
msgid ":func:`covariance`"
221234
msgstr ":func:`covariance`"
222235

223236
#: ../../library/statistics.rst:106
224237
msgid "Sample covariance for two variables."
225-
msgstr "兩變數樣本的共變異數"
238+
msgstr "兩變數的樣本共變異數。"
226239

227240
#: ../../library/statistics.rst:107
228241
msgid ":func:`correlation`"
229242
msgstr ":func:`correlation`"
230243

231244
#: ../../library/statistics.rst:107
232245
msgid "Pearson's correlation coefficient for two variables."
233-
msgstr ""
246+
msgstr "兩個變數之間的 Pearson 相關係數 (correlation coefficient)。"
234247

235248
#: ../../library/statistics.rst:108
236249
msgid ":func:`linear_regression`"
237250
msgstr ":func:`linear_regression`"
238251

239252
#: ../../library/statistics.rst:108
240253
msgid "Slope and intercept for simple linear regression."
241-
msgstr ""
254+
msgstr "簡單線性回歸的斜率和截距。"
242255

243256
#: ../../library/statistics.rst:113
244257
msgid "Function details"
@@ -249,12 +262,14 @@ msgid ""
249262
"Note: The functions do not require the data given to them to be sorted. "
250263
"However, for reading convenience, most of the examples show sorted sequences."
251264
msgstr ""
265+
"註:這些函數並不要求輸入的資料必須排序過。為了閱讀方便,大部份的範例仍已排序"
266+
"過。"
252267

253268
#: ../../library/statistics.rst:120
254269
msgid ""
255270
"Return the sample arithmetic mean of *data* which can be a sequence or "
256271
"iterable."
257-
msgstr ""
272+
msgstr "回傳 *data* 的樣本算數平均數,輸入可為一個 sequence 或者 iterable。"
258273

259274
#: ../../library/statistics.rst:122
260275
msgid ""
@@ -263,14 +278,16 @@ msgid ""
263278
"many different mathematical averages. It is a measure of the central "
264279
"location of the data."
265280
msgstr ""
281+
"算數平均數為資料總和除以資料點的數目。他通常被稱為「平均值」,儘管它只是眾多"
282+
"不同的數學平均值之一。它是衡量資料集中位置的一種指標。"
266283

267284
#: ../../library/statistics.rst:127
268285
msgid "If *data* is empty, :exc:`StatisticsError` will be raised."
269-
msgstr ""
286+
msgstr "若 *data* 為空,則會引發 :exc:`StatisticsError`。"
270287

271288
#: ../../library/statistics.rst:129
272289
msgid "Some examples of use:"
273-
msgstr ""
290+
msgstr "使用範例:"
274291

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

283304
#: ../../library/statistics.rst:154
284305
msgid ""

0 commit comments

Comments
 (0)