You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/08/30 10:14:15 UTC

[GitHub] [arrow-cookbook] amol- commented on a change in pull request #51: Creating tables recipe

amol- commented on a change in pull request #51:
URL: https://github.com/apache/arrow-cookbook/pull/51#discussion_r698365277



##########
File path: python/source/create.rst
##########
@@ -7,6 +7,32 @@ Tensors and all other Arrow entities.
 
 .. contents::
 
+Creating Tables
+===============
+
+Arrow supports tabular data in :class:`pyarrow.Table`, each column
+is represented by a :class:`pyarrow.Array` and tables can be created
+by pairing multiple arrays with names for their columns
+
+.. testcode::
+
+    import pyarrow as pa
+
+    table = pa.table([
+      pa.array([1, 2, 3, 4, 5]),

Review comment:
       addressed




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org