Skip to content

Commit 8e47447

Browse files
committed
Suggestions from Tadeja
1 parent 8ede4d6 commit 8e47447

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/source/python/dataset.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -811,18 +811,18 @@ to supply a visitor that will be called as each file is created:
811811
>>> ds.write_dataset(table, "dataset_visited", format="parquet", partitioning=part,
812812
... file_visitor=file_visitor)
813813
path=dataset_visited/c=.../part-0.parquet
814-
size=824 bytes
814+
size=... bytes
815815
metadata=<pyarrow._parquet.FileMetaData object at ...>
816-
created_by: parquet-cpp-arrow version 23.0.0-SNAPSHOT
816+
created_by: parquet-cpp-arrow version ...
817817
num_columns: 2
818818
num_rows: 5
819819
num_row_groups: 1
820820
format_version: 2.6
821821
serialized_size: 0
822822
path=dataset_visited/c=.../part-0.parquet
823-
size=826 bytes
823+
size=... bytes
824824
metadata=<pyarrow._parquet.FileMetaData object at ...>
825-
created_by: parquet-cpp-arrow version 23.0.0-SNAPSHOT
825+
created_by: parquet-cpp-arrow version ...
826826
num_columns: 2
827827
num_rows: 5
828828
num_row_groups: 1

docs/source/python/extending_types.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,13 +614,13 @@ example
614614

615615
.. code-block:: python
616616
617-
>>> tensor_type = pa.fixed_shape_tensor(pa.float64(), [2, 2, 3], permutation=[0, 2, 1])
617+
>>> tensor_type = pa.fixed_shape_tensor(pa.float64(), [2, 2, 3], permutation=[0, 2, 1])
618618
619619
or
620620

621621
.. code-block:: python
622622
623-
>>> tensor_type = pa.fixed_shape_tensor(pa.bool_(), [2, 2, 3], dim_names=["C", "H", "W"])
623+
>>> tensor_type = pa.fixed_shape_tensor(pa.bool_(), [2, 2, 3], dim_names=["C", "H", "W"])
624624
625625
for ``NCHW`` format where:
626626

0 commit comments

Comments
 (0)