Skip to content

Commit 1c05f6d

Browse files
committed
docs: list added types in README
1 parent cb0097c commit 1c05f6d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

guests/python/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,14 @@ Types are mapped to/from [Apache Arrow] as follows:
5858
| Python | Arrow |
5959
| ------------ | ----------- |
6060
| [`bool`] | [`Boolean`] |
61+
| [`bytes`] | [`Binary`] |
62+
| [`date`] | [`Date32`] |
6163
| [`datetime`] | [`Timestamp`] w/ [`Microsecond`] and NO timezone |
6264
| [`float`] | [`Float64`] |
6365
| [`int`] | [`Int64`] |
6466
| [`str`] | [`Utf8`] |
67+
| [`time`] | [`Time64`] w/ [`Microsecond`] and NO timezone |
68+
| [`timedelta`]| [`Duration`] |
6569

6670
Additional types may be supported in the future.
6771

@@ -192,12 +196,20 @@ There is NO I/O available that escapes the sandbox. The [Python Standard Library
192196
[Apache DataFusion]: https://datafusion.apache.org/
193197
[`bool`]: https://docs.python.org/3/library/stdtypes.html#boolean-type-bool
194198
[`Boolean`]: https://docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Boolean
199+
[`bytes`]: https://docs.python.org/3/library/stdtypes.html#bytes
200+
[`Binary`]: https://docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Binary
201+
[`date`]: https://docs.python.org/3/library/datetime.html#datetime.date
202+
[`Date32`]: https://docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Date32
195203
[`datetime`]: https://docs.python.org/3/library/datetime.html#datetime.datetime
196204
[`float`]: https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex
197205
[`Float64`]: https://docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Float64
198206
[`functools.cache`]: https://docs.python.org/3/library/functools.html#functools.cache
199207
[`int`]: https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex
200208
[`Int64`]: https://docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Int64
209+
[`time`]: https://docs.python.org/3/library/datetime.html#datetime.time
210+
[`Time64`]: https://docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Time64
211+
[`timedelta`]: https://docs.python.org/3/library/datetime.html#datetime.timedelta
212+
[`Duration`]: https://docs.rs/arrow/latest/arrow/datatypes/enum.DataType.html#variant.Duration
201213
[`Microsecond`]: https://docs.rs/arrow/latest/arrow/datatypes/enum.TimeUnit.html#variant.Microsecond
202214
[Python 3.14.0]: https://www.python.org/downloads/release/python-3140
203215
[Python Standard Library]: https://docs.python.org/3/library/index.html

0 commit comments

Comments
 (0)