Chang She
2d25c263e9
Implement drop table if exists ( #383 )
2023-07-31 10:25:09 +02:00
gsilvestrin
1daecac648
fix(python): Pin pylance and add pandas as test dependency ( #373 )
2023-07-27 15:21:45 -07:00
Lance Release
0e4050e706
[python] Bump version: 0.1.14 → 0.1.15
2023-07-25 18:58:44 +00:00
Rob Meng
147796ffcd
bump lance version for vectordb, fix minor bugs in lancedb remote client ( #365 )
2023-07-24 21:30:57 -04:00
Rob Meng
8325979bb8
dont print apikey in remote client toString, add hostoverride to python client ( #353 )
2023-07-23 18:44:00 -04:00
Lance Release
1cbfc1bbf4
[python] Bump version: 0.1.13 → 0.1.14
2023-07-20 20:06:15 +00:00
Will Jones
0cf40c8da3
fix: only use util function to build filesystem ( #339 )
2023-07-20 10:41:50 -07:00
Rob Meng
8233c689c3
fix remote SDK ( #342 )
2023-07-20 02:01:13 -04:00
Lance Release
f4ce86e12c
[python] Bump version: 0.1.12 → 0.1.13
2023-07-19 03:09:50 +00: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
Lance Release
5e3167da83
[python] Bump version: 0.1.11 → 0.1.12
2023-07-19 01:18:28 +00:00
Lei Xu
f09db4a6d6
[Python] Do not return Table count for every add operation ( #328 )
...
`Table::count()` will be linearly slower with more fragments ingested.
2023-07-18 17:11:17 -07:00
Will Jones
fb97b03a51
feat: pass AWS_ENDPOINT environment variable down ( #330 )
...
Tested locally against minio.
2023-07-18 15:07:26 -07:00
Lei Xu
141b6647a8
[Python] Fix bumpversion.cfg ( #327 )
2023-07-18 09:18:14 -07:00
Lei Xu
a86bc05131
[Bug] Fix dataset path check in Table::open ( #326 )
...
Fixed a bug that prevents to open remote tables.
2023-07-18 08:45:10 -07:00
Will Jones
3537afb2c3
docs: show how to delete rows in user guide ( #309 )
...
Closes #265
2023-07-18 08:19:48 -07:00
Lei Xu
23f5dddc7c
[Rust] Checkout a version of dataset. ( #321 )
...
* `Table::open()` from absolute path, and gives the responsibility of
organizing metadata out of Table object
* Fix Clippy warnings
* Add `Table::checkout(version)` API
2023-07-17 17:29:58 -07:00
Lei Xu
030f07e7f0
Bump minimal lance version to 0.5.8 ( #318 )
2023-07-17 12:41:29 -07:00
Lei Xu
088e745e1d
[Python] Create table with Iterator[RecordBatch] and add docs ( #316 )
2023-07-16 21:45:55 -07:00
Lei Xu
7a57cddb2c
[Python] Add records to remote ( #315 )
2023-07-16 13:24:38 -07:00
Lei Xu
8ff5f88916
[Python] Bug fixes in remote API ( #314 )
2023-07-16 11:09:19 -07:00
Lei Xu
028a6e433d
[Python] Get table schema ( #313 )
2023-07-15 17:39:37 -07:00
Lei Xu
c62e4ca1eb
Bump lance version to 0.5.7 ( #311 )
2023-07-14 17:17:31 -07:00
Chang She
2fdcb307eb
[python] Fix a few minor bugs ( #304 )
2023-07-15 03:47:42 +08:00
Lei Xu
8c9edafccc
[Doc] Add more Python integrations documents ( #299 )
2023-07-13 17:09:39 -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
Lei Xu
0e7ae5dfbf
[Python] Fix list type conversion to JSON and temporal types ( #274 )
2023-07-11 11:05:51 -07:00
Lei Xu
9f603f73a9
[Python] Schema to JSON ( #272 )
2023-07-10 18:11:24 -07:00
Lei Xu
9ef846929b
[Python] List tables from remote service ( #262 )
2023-07-09 23:58:03 -07:00
Lei Xu
97364a2514
Bump to v0.1.10-python
2023-07-09 21:52:11 -07:00
Lei Xu
e6c6da6104
[Python] Initial support of cloud API ( #260 )
...
Support connect with remote database, and implement Search API
2023-07-07 15:41:15 -07:00
Chang She
e2325c634b
Allow creation of an empty table ( #254 )
...
It's inconvenient to always require data at table creation time.
Here we enable you to create an empty table and add data and set schema
later.
---------
Co-authored-by: Chang She <chang@lancedb.com >
2023-07-06 20:44:58 -07:00
Chang She
507eeae9c8
Set default to error instead of drop ( #259 )
...
when encountering bad input data, we can default to principle of least
surprise and raise an exception.
Co-authored-by: Chang She <chang@lancedb.com >
2023-07-05 22:44:18 -07:00
Chang She
3c46d7f268
Handle NaN input data ( #241 )
...
Sometimes LangChain would insert a single `[np.nan]` as a placeholder if
the embedding function failed. This causes a problem for Lance format
because then the array can't be stored as a FixedSizedListArray.
Instead:
1. By default we remove rows with embedding lengths less than the
maximum length in the batch
2. If `strict=True` kwargs is set to True, then a `ValueError` is raised
if the embeddings aren't all the same length
---------
Co-authored-by: Chang She <chang@lancedb.com >
2023-07-04 20:00:46 -07:00
Lei Xu
fc725c99f0
[Node] Create Table with WriteMode ( #246 )
...
Support `createTable(name, data, mode?)` to be consistent with Python.
Closes #242
2023-07-03 17:04:21 -07:00
Leon Yee
eb5bcda337
Error implementations ( #232 )
...
Solves #216 by adding a check on table open for existence of the
`.lance` file. Does not check for it for remote connections.
2023-06-27 16:48:31 -07:00
Lei Xu
4bc676e26a
[Python] Support replace during create_index ( #233 )
...
Closes #214
2023-06-27 16:02:07 -07:00
Philip Kung
313e66c4c5
Specify and Index Column for Vector Search ( #217 )
2023-06-26 16:11:08 -07:00
Will Jones
0e4c52b8a6
bump python module version
2023-06-26 11:25:39 -07:00
Will Jones
ad48242ffb
feat: support for deletion ( #219 )
...
Also upgrades Arrow and Lance.
2023-06-23 18:09:07 -07:00
Rob Meng
d1e8a97a2a
isort entire repo ( #200 )
2023-06-15 20:12:10 -04:00
Rob Meng
cbb56e25ab
port remote connection client into lancedb ( #194 )
...
* to_df() is now async, added `to_df_blocking` to convenience
* add remote lancedb client to public lancedb
* make lancedb connection class understand url scheme
`lancedb+<connection_type>://<host>:<port>`.
2023-06-15 18:57:52 -04:00
Utkarsh Gautam
6b5c046c3b
[Python] Updated to_df implementation in Contextualizer class ( #174 )
...
Changes include:
- Contexts of sizes less than window param to be included as well
- Added optional threshold parameter to to_df in Contextualizer
This should close #165
- If maintainers are satisfied with the implementation will add more
examples and test cases and update the documentations as well.
---------
Co-authored-by: Nithin PS <47279496+Nithinps021@users.noreply.github.com >
Co-authored-by: Will Jones <willjones127@gmail.com >
2023-06-14 09:22:32 -07:00
Lance Release
5210f40a33
[python] Bump version: 0.1.7 → 0.1.8
2023-06-12 22:06:59 +00:00
gsilvestrin
e4f64fca7b
Bump pylance 0.4.17 -> 0.4.20 ( #173 )
2023-06-12 14:54:20 -07:00
Lance Release
4744640bd2
[python] Bump version: 0.1.6 → 0.1.7
2023-06-12 21:39:16 +00:00
gsilvestrin
a318778d2a
feat(python): add action to tag python releases ( #172 )
2023-06-12 13:59:08 -07:00
Tevin Wang
9b83ce3d2a
add black to python CI ( #178 )
...
Closes #48
2023-06-12 11:22:34 -07:00
Nithin PS
7bad676f30
[Python] FIx Contextualizer validation to arguments ( #168 )
...
Closes #164
---------
Co-authored-by: Will Jones <willjones127@gmail.com >
2023-06-12 09:20:09 -07:00
Will Jones
fed33a51d5
wip: make the python API reference a bit nicer ( #162 )
...
Adds:
* Make `mkdocstrings` aware we are using numpy-style docstrings
* Fixes broken link on `index.md` to Python API docs (and added link to
node ones)
* Added examples to various classes.
* Added doctest to verify examples work.
2023-06-08 16:07:06 -07:00