Skip to content

Commit 130bfa4

Browse files
committed
fix
1 parent 974252b commit 130bfa4

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/source/python/data.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ A record batch can be created from this list of arrays using
714714
4
715715
>>> batch.schema
716716
f0: int64
717-
f1: ...string
717+
f1: string
718718
f2: bool
719719
>>>
720720
>>> batch[1]
@@ -761,7 +761,7 @@ one or more copies of the batch using ``Table.from_batches``:
761761
>>> table
762762
pyarrow.Table
763763
f0: int64
764-
f1: ...string
764+
f1: string
765765
f2: bool
766766
----
767767
f0: [[1,2,3,4],[1,2,3,4],...,[1,2,3,4],[1,2,3,4]]

docs/source/python/ipc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ convenience function ``pyarrow.ipc.open_stream``:
9494
... batches = [b for b in reader]
9595
>>> schema
9696
f0: int64
97-
f1: ...string
97+
f1: string
9898
f2: bool
9999
>>> len(batches)
100100
5

docs/source/python/pandas.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ use the ``datetime64[ns]`` type in Pandas and are converted to an Arrow
224224
225225
>>> df = pd.DataFrame({"datetime": pd.date_range("2020-01-01T00:00:00Z", freq="h", periods=3)})
226226
>>> df.dtypes
227-
datetime datetime64[ns, UTC]
227+
datetime datetime64[..., UTC]
228228
dtype: object
229229
>>> df
230230
datetime
@@ -234,9 +234,9 @@ use the ``datetime64[ns]`` type in Pandas and are converted to an Arrow
234234
>>> table = pa.Table.from_pandas(df)
235235
>>> table
236236
pyarrow.Table
237-
datetime: timestamp[ns, tz=UTC]
237+
datetime: timestamp[..., tz=UTC]
238238
----
239-
datetime: [[2020-01-01 00:00:00.000000000Z,...,2020-01-01 02:00:00.000000000Z]]
239+
datetime: [[2020-01-01 00:00:00...]]
240240
241241
In this example the Pandas Timestamp is time zone aware
242242
(``UTC`` on this case), and this information is used to create the Arrow

docs/source/python/parquet.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ and improved performance for columns with many repeated string values.
350350
>>> pq.read_table('example.parquet', read_dictionary=['two'])
351351
pyarrow.Table
352352
one: double
353-
two: dictionary<values=...string, indices=int32, ordered=0>
353+
two: dictionary<values=string, indices=int32, ordered=0>
354354
three: bool
355355
__index_level_0__: ...string
356356
----

0 commit comments

Comments
 (0)