Skip to content

Commit ff3a20e

Browse files
authored
Merge 9ab0b41 into 4f99de4
2 parents 4f99de4 + 9ab0b41 commit ff3a20e

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
1616

1717
project = "Vortex"
18-
copyright = "2024, Spiral"
19-
author = "Spiral"
18+
copyright = "The Vortex contributors"
19+
author = "Vortex contributors"
2020

2121
# -- General configuration ---------------------------------------------------
2222
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

docs/guides/python-integrations.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ name: [["Joseph","Narendra","Angela","Mikhail"]]
120120

121121
{func}`~vortex.array` converts from a Pandas DataFrame into a Vortex array:
122122

123-
```pycon
123+
```{doctest} pycon
124124
>>> vx.array(df).to_arrow_table()
125125
pyarrow.Table
126126
age: int64
@@ -136,19 +136,17 @@ name: [["Joseph","Narendra","Angela","Mikhail"]]
136136
enables many Python-based query engines to pushdown row filters and column projections on Vortex
137137
files. All the query engine examples use the same Vortex file:
138138

139-
```pycon
139+
```{doctest} pycon
140140
>>> import vortex as vx
141141
>>> import pyarrow.parquet as pq
142142
>>> arr = vx.array(pq.read_table("_static/example.parquet"))
143143
>>> vx.io.write(arr, 'example.vortex')
144-
>>> ds = vx.dataset.from_path(
145-
>>> ... 'example.vortex'
146-
>>> ... )
144+
>>> ds = vx.open('example.vortex').to_dataset()
147145
```
148146

149147
### Polars
150148

151-
```pycon
149+
```{doctest} pycon
152150
>>> import polars as pl
153151
>>> lf = pl.scan_pyarrow_dataset(ds)
154152
>>> lf = lf.select('tip_amount', 'fare_amount')
@@ -168,7 +166,7 @@ shape: (3, 2)
168166

169167
### DuckDB
170168

171-
```pycon
169+
```{doctest} pycon
172170
>>> import duckdb
173171
>>> duckdb.sql('select ds.tip_amount, ds.fare_amount from ds limit 3').show()
174172
┌────────────┬─────────────┐

0 commit comments

Comments
 (0)