From 57e9386d4a3a18dfa3c5269c49efaee93aabea2b Mon Sep 17 00:00:00 2001 From: Erik McKelvey Date: Tue, 3 Oct 2023 17:43:21 -0700 Subject: [PATCH] MINOR: [Python][Docs] Fix two typos in data.rst (#37997) ### What changes are included in this PR? Fixed two minor typos in data.rst Authored-by: Erik McKelvey Signed-off-by: Sutou Kouhei --- docs/source/python/data.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/python/data.rst b/docs/source/python/data.rst index 75d1e88970c29..0ce2ddd698414 100644 --- a/docs/source/python/data.rst +++ b/docs/source/python/data.rst @@ -216,7 +216,7 @@ value during the conversion. If an integer input is supplied to To handle better compatibility with Pandas, we support interpreting NaN values as null elements. This is enabled automatically on all ``from_pandas`` function and -can be enable on the other conversion functions by passing ``from_pandas=True`` +can be enabled on the other conversion functions by passing ``from_pandas=True`` as a function parameter. List arrays @@ -510,7 +510,7 @@ a new schema and cast the data to this schema: t2.schema.field("f1").metadata t2.schema.metadata -Metadata key and value pair are ``std::string`` objects in the C++ implementation +Metadata key and value pairs are ``std::string`` objects in the C++ implementation and so they are bytes objects (``b'...'``) in Python. Record Batch Readers