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 2023/09/07 06:42:51 UTC
[arrow] branch main updated: MINOR: [Python][Docs] Fix a code example rendering (#37557)
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new a918abb853 MINOR: [Python][Docs] Fix a code example rendering (#37557)
a918abb853 is described below
commit a918abb853e149cb37994354ae84a7556a388ea5
Author: Tero Vuotila <te...@gmail.com>
AuthorDate: Thu Sep 7 09:42:44 2023 +0300
MINOR: [Python][Docs] Fix a code example rendering (#37557)
Add the required empty line before a code example of binary.
### Rationale for this change
The last code example of [pyarrow.binary](https://arrow.apache.org/docs/python/generated/pyarrow.binary.html#pyarrow.binary) was not rendered correctly in documentation.
### What changes are included in this PR?
Added one line break to make the code example render correctly.
### Are these changes tested?
No
### Are there any user-facing changes?
[pyarrow.binary](https://arrow.apache.org/docs/python/generated/pyarrow.binary.html#pyarrow.binary) documentation only.
Authored-by: Tero Vuotila <te...@falcony.io>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
python/pyarrow/types.pxi | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/pyarrow/types.pxi b/python/pyarrow/types.pxi
index f2dd59a0f1..ffaebd2418 100644
--- a/python/pyarrow/types.pxi
+++ b/python/pyarrow/types.pxi
@@ -4135,6 +4135,7 @@ def binary(int length=-1):
FixedSizeBinaryType(fixed_size_binary[3])
and use the fixed-length binary type to create an array:
+
>>> pa.array(['foo', 'bar', 'baz'], type=pa.binary(3))
<pyarrow.lib.FixedSizeBinaryArray object at ...>
[