You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2022/04/15 20:16:20 UTC
[arrow] branch master updated: MINOR: [Docs] Fix sphinx build warnings
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 6f84badd96 MINOR: [Docs] Fix sphinx build warnings
6f84badd96 is described below
commit 6f84badd96591c89411c6d1f65be86a708ac2146
Author: Joris Van den Bossche <jo...@gmail.com>
AuthorDate: Sat Apr 16 05:16:02 2022 +0900
MINOR: [Docs] Fix sphinx build warnings
Closes #12900 from jorisvandenbossche/doc-minor
Authored-by: Joris Van den Bossche <jo...@gmail.com>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
python/pyarrow/_dataset.pyx | 2 +-
python/pyarrow/table.pxi | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/python/pyarrow/_dataset.pyx b/python/pyarrow/_dataset.pyx
index 4bc5f2cfd6..1280e5aa8c 100644
--- a/python/pyarrow/_dataset.pyx
+++ b/python/pyarrow/_dataset.pyx
@@ -1662,7 +1662,7 @@ cdef class FilenamePartitioning(KeyValuePartitioning):
The FilenamePartitioning expects one segment in the file name for each
field in the schema (all fields are required to be present) separated
by '_'. For example given schema<year:int16, month:int8> the name
- "2009_11_" would be parsed to ("year"_ == 2009 and "month"_ == 11).
+ ``"2009_11_"`` would be parsed to ("year" == 2009 and "month" == 11).
Parameters
----------
diff --git a/python/pyarrow/table.pxi b/python/pyarrow/table.pxi
index f0aa90f34a..b12016c7d5 100644
--- a/python/pyarrow/table.pxi
+++ b/python/pyarrow/table.pxi
@@ -4967,8 +4967,8 @@ def table(data, names=None, schema=None, metadata=None, nthreads=None):
--------
Table.from_arrays, Table.from_pandas, Table.from_pydict
- Example
- -------
+ Examples
+ --------
>>> import pyarrow as pa
>>> n_legs = pa.array([2, 4, 5, 100])
>>> animals = pa.array(["Flamingo", "Horse", "Brittle stars", "Centipede"])