Skip to content

Commit d67a2d5

Browse files
authored
fix: python integration docs (#4363)
I am not sure where I got the 4000 row dataframe from but that is wrong. There are three files each with 1000 rows. This is what Python prints when I run these lines. I also unnecessarily included a read of a Vortex file which is never used. Signed-off-by: Daniel King <[email protected]>
1 parent febbc34 commit d67a2d5

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docs/guides/python-integrations.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ and then run `make -C docs doctest` -->
188188
```{doctest} pycon
189189
>>> import os
190190
>>> os.makedirs("ray_data", exist_ok=True)
191-
>>> ds = vx.open('example.vortex').to_dataset()
192191
>>> vx.io.write(arr, 'ray_data/example-01.vortex')
193192
>>> vx.io.write(arr, 'ray_data/example-02.vortex')
194193
>>> vx.io.write(arr, 'ray_data/example-03.vortex')
@@ -198,19 +197,18 @@ and then run `make -C docs doctest` -->
198197
>>>
199198
>>> ds = read_datasource(VortexDatasource(url='ray_data')) # doctest: +SKIP
200199
>>> ds.to_pandas() # doctest: +SKIP
201-
[dataset]: Run `pip install tqdm` to enable progress reporting.
202200
VendorID tpep_pickup_datetime ... congestion_surcharge Airport_fee
203201
0 1 2023-11-01 00:03:03 ... 0.0 1.75
204202
1 1 2023-11-01 00:03:28 ... 2.5 0.00
205203
2 2 2023-10-31 23:58:05 ... 2.5 1.75
206204
3 2 2023-11-01 00:03:50 ... 2.5 0.00
207205
4 2 2023-11-01 00:06:30 ... 2.5 0.00
208206
... ... ... ... ... ...
209-
3995 1 2023-11-01 00:09:20 ... 2.5 0.00
210-
3996 2 2023-11-01 00:16:03 ... 2.5 0.00
211-
3997 2 2023-11-01 00:32:42 ... 2.5 0.00
212-
3998 1 2023-11-01 00:04:52 ... 2.5 0.00
213-
3999 1 2023-11-01 00:18:56 ... 2.5 0.00
207+
2995 1 2023-11-01 00:09:20 ... 2.5 0.00
208+
2996 2 2023-11-01 00:16:03 ... 2.5 0.00
209+
2997 2 2023-11-01 00:32:42 ... 2.5 0.00
210+
2998 1 2023-11-01 00:04:52 ... 2.5 0.00
211+
2999 1 2023-11-01 00:18:56 ... 2.5 0.00
214212
<BLANKLINE>
215-
[4000 rows x 19 columns]
213+
[3000 rows x 19 columns]
216214
```

0 commit comments

Comments
 (0)