Skip to content

Commit 901b769

Browse files
authored
Fix arrow links in docs (#252)
1 parent 8aca345 commit 901b769

File tree

2 files changed

+29
-30
lines changed

2 files changed

+29
-30
lines changed

docs/source/base-tables.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ Record表示表的一行记录,我们在 Table 对象上调用 new_record 就
251251
>>> for record in o.read_table('test_table', partition='pt=test,pt2=test2'):
252252
>>> # 处理一条记录
253253
254-
从 0.11.2 开始,PyODPS 支持使用 `https://arrow.apache.org/ <Arrow>`_ 格式读写数据,该格式可以以更高\
254+
从 0.11.2 开始,PyODPS 支持使用 `Arrow <https://arrow.apache.org/>`_ 格式读写数据,该格式可以以更高\
255255
效率与 pandas 等格式互相转换。安装 pyarrow 后,在调用 ``open_reader`` 时增加 ``arrow=True`` 参数,即可按
256-
`https://arrow.apache.org/docs/python/data.html#record-batches <Arrow RecordBatch>`_
256+
`Arrow RecordBatch <https://arrow.apache.org/docs/python/data.html#record-batches>`_
257257
格式读取表内容。
258258

259259
.. code-block:: python
@@ -440,9 +440,9 @@ open_writer 创建的 Writer 对象通过 multiprocessing 标准库传递到需
440440
# 等待子进程中的执行完成
441441
[f.get() for f in futures]
442442
443-
从 0.11.2 开始,PyODPS 支持使用 `https://arrow.apache.org/ <Arrow>`_ 格式读写数据,该格式可以以更高\
443+
从 0.11.2 开始,PyODPS 支持使用 `Arrow <https://arrow.apache.org/>`_ 格式读写数据,该格式可以以更高\
444444
效率与 pandas 等格式互相转换。安装 pyarrow 后,在调用 ``open_writer`` 时增加 ``arrow=True`` 参数,即可按
445-
`https://arrow.apache.org/docs/python/data.html#record-batches <Arrow RecordBatch>`_
445+
`Arrow RecordBatch <https://arrow.apache.org/docs/python/data.html#record-batches>`_
446446
格式写入表内容。PyODPS 也支持直接写入 pandas DataFrame,支持自动转换为 Arrow RecordBatch。
447447

448448
.. code-block:: python

docs/source/locale/en/LC_MESSAGES/base-tables.po

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -466,19 +466,18 @@ msgstr ""
466466

467467
#: ../../source/base-tables.rst:254
468468
msgid ""
469-
"从 0.11.2 开始,PyODPS 支持使用 `https://arrow.apache.org/ <Arrow>`_ 格式"
469+
"从 0.11.2 开始,PyODPS 支持使用 `Arrow <https://arrow.apache.org/>`_ 格式"
470470
"读写数据,该格式可以以更高\\ 效率与 pandas 等格式互相转换。安装 pyarrow "
471-
"后,在调用 ``open_reader`` 时增加 ``arrow=True`` 参数,即可按 `https://"
472-
"arrow.apache.org/docs/python/data.html#record-batches <Arrow RecordBatch>"
473-
"`_ 格式读取表内容。"
474-
msgstr ""
475-
"Since 0.11.2, PyODPS supports reading and writing table data with "
476-
"`https://arrow.apache.org/ <Arrow>`_ format, which can be converted from "
477-
"and to pandas or other formats with high efficiency. After installing "
478-
"pyarrow, you can read data from tables with "
479-
"`https://arrow.apache.org/docs/python/data.html#record-batches <Arrow "
480-
"RecordBatch>`_ format by adding ``arrow=True`` argument when calling "
481-
"``open_reader`` method."
471+
"后,在调用 ``open_reader`` 时增加 ``arrow=True`` 参数,即可按 `Arrow "
472+
"RecordBatch <https://arrow.apache.org/docs/python/data.html#record-"
473+
"batches>`_ 格式读取表内容。"
474+
msgstr ""
475+
"Since 0.11.2, PyODPS supports reading and writing table data with `Arrow "
476+
"<https://arrow.apache.org/>`_ format, which can be converted from and to "
477+
"pandas or other formats with high efficiency. After installing pyarrow, "
478+
"you can read data from tables with `Arrow RecordBatch "
479+
"<https://arrow.apache.org/docs/python/data.html#record-batches>`_ format "
480+
"by adding ``arrow=True`` argument when calling ``open_reader`` method."
482481

483482
#: ../../source/base-tables.rst:259
484483
msgid ""
@@ -892,21 +891,21 @@ msgstr ""
892891

893892
#: ../../source/base-tables.rst:443
894893
msgid ""
895-
"从 0.11.2 开始,PyODPS 支持使用 `https://arrow.apache.org/ <Arrow>`_ 格式"
894+
"从 0.11.2 开始,PyODPS 支持使用 `Arrow <https://arrow.apache.org/>`_ 格式"
896895
"读写数据,该格式可以以更高\\ 效率与 pandas 等格式互相转换。安装 pyarrow "
897-
"后,在调用 ``open_writer`` 时增加 ``arrow=True`` 参数,即可按 `https://"
898-
"arrow.apache.org/docs/python/data.html#record-batches <Arrow RecordBatch>"
899-
"`_ 格式写入表内容。PyODPS 也支持直接写入 pandas DataFrame,支持自动转换为"
900-
" Arrow RecordBatch。"
901-
msgstr ""
902-
"Since 0.11.2, PyODPS supports reading and writing table data with "
903-
"`https://arrow.apache.org/ <Arrow>`_ format, which can be converted from "
904-
"and to pandas or other formats with high efficiency. After installing "
905-
"pyarrow, you can write data into tables with "
906-
"`https://arrow.apache.org/docs/python/data.html#record-batches <Arrow "
907-
"RecordBatch>`_ format by adding ``arrow=True`` argument when calling "
908-
"``open_writer`` method. PyODPS also supports writing tables with pandas "
909-
"DataFrames, which will be converted into Arrow RecordBatch directly."
896+
"后,在调用 ``open_writer`` 时增加 ``arrow=True`` 参数,即可按 `Arrow "
897+
"RecordBatch <https://arrow.apache.org/docs/python/data.html#record-"
898+
"batches>`_ 格式写入表内容。PyODPS 也支持直接写入 pandas DataFrame,支持"
899+
"自动转换为 Arrow RecordBatch。"
900+
msgstr ""
901+
"Since 0.11.2, PyODPS supports reading and writing table data with `Arrow "
902+
"<https://arrow.apache.org/>`_ format, which can be converted from and to "
903+
"pandas or other formats with high efficiency. After installing pyarrow, "
904+
"you can write data into tables with `Arrow RecordBatch "
905+
"<https://arrow.apache.org/docs/python/data.html#record-batches>`_ format "
906+
"by adding ``arrow=True`` argument when calling ``open_writer`` method. "
907+
"PyODPS also supports writing tables with pandas DataFrames, which will be"
908+
" converted into Arrow RecordBatch directly."
910909

911910
#: ../../source/base-tables.rst:448
912911
msgid ""

0 commit comments

Comments
 (0)