Skip to content

Commit 3f5188d

Browse files
committed
update pivot.rst
1 parent 6823bf4 commit 3f5188d

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

pivot.rst

+8-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
Pivot Tables
1+
数据透视表
22
============
33

4-
openpyxl provides read-support for pivot tables so that they will be
5-
preserved in existing files. The specification for pivot tables, while
4+
openpyxl 为数据透视表提供读取支持以便于可以保留在现有的文件中。
5+
数据透视表的规范虽然很广泛,但不是很清楚,也不意味着客户端代码应该能够创建数据透视表。(The specification for pivot tables, while
66
extensive, is not very clear and it is not intended that client code should
7-
be able to create pivot tables. However, it should be possible to edit and
8-
manipulate existing pivot tables, eg. change their ranges or whether they
9-
should update automatically settings.
7+
be able to create pivot tables.)
8+
但是,应该可以编辑和操作现有的数据透视表,例如。更改其范围或是能自动更新设置。
109

11-
As is the case for charts, images and tables there is currently no management
12-
API for pivot tables so that client code will have to loop over the
13-
``_pivots`` list of a worksheet.
10+
和图表、图片、表格一样,数据透视表没有专门管理的 API,因此客户端代码不得不遍历工作表 ``_pivots`` 列表
1411

1512

16-
Example
13+
例子
1714
-------
1815

1916
.. code::
@@ -25,4 +22,4 @@ Example
2522
pivot.cache.refreshOnLoad = True
2623
2724
28-
For further information see :class:`openpyxl.pivot.cache.CacheDefinition`
25+
更多信息 请查询 :class:`openpyxl.pivot.cache.CacheDefinition`

0 commit comments

Comments
 (0)