Chang She
8f9ad978f5
feat(python): support list of list fields from pydantic schema ( #747 )
...
For object detection, each row may correspond to an image and each image
can have multiple bounding boxes of x-y coordinates. This means that a
`bbox` field is potentially "list of list of float". This adds support
in our pydantic-pyarrow conversion for nested lists.
2023-12-27 09:10:09 -08:00
Prashanth Rao
86efb11572
Add pyarrow date and timestamp type conversion from pydantic ( #576 )
2023-10-16 19:42:24 -07:00
Lei Xu
b315ea3978
[Python] Pydantic vector field with default value ( #474 )
...
Rename `lance.pydantic.vector` to `Vector` and deprecate `vector(dim)`
2023-09-08 22:35:31 -07:00
Chang She
cada35d5b7
Improve pydantic integration ( #384 )
2023-07-31 12:16:44 -04:00
Lei Xu
63acdc2069
[Python] Support pydantic v1 as well ( #337 )
...
Support both Pydantic v1 and v2 (breaking changes)
2023-07-18 19:53:09 -07:00
Lei Xu
08944bf4fd
[Python] Convert Pydantic Model to Arrow Schema ( #291 )
...
Provide utility to automatically convert Pydantic model to Arrow Schema
Closes #256
2023-07-13 11:16:37 -07:00