Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add to_list api for query results #555

Closed
changhiskhan opened this issue Oct 11, 2023 · 1 comment · Fixed by #556
Closed

add to_list api for query results #555

changhiskhan opened this issue Oct 11, 2023 · 1 comment · Fixed by #556
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed Python Python SDK

Comments

@changhiskhan
Copy link
Contributor

Currently we support to_df(), to_arrow(), and to_pydantic(), but we don't support the most basic to_list (list of dict).

@changhiskhan changhiskhan added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed Python Python SDK labels Oct 11, 2023
changhiskhan added a commit that referenced this issue Oct 11, 2023
changhiskhan added a commit that referenced this issue Oct 11, 2023
changhiskhan added a commit that referenced this issue Oct 11, 2023
Add `to_list` to return query results as list of python dict (so we're
not too pandas-centric). Closes #555

Add `to_pandas` API and add deprecation warning on `to_df`. Closes #545

Co-authored-by: Chang She <chang@lancedb.com>
@litanlitudan
Copy link
Contributor

I use to_arrow().to_pylist(), lol @changhiskhan

raghavdixit99 pushed a commit to raghavdixit99/lancedb that referenced this issue Apr 5, 2024
Add `to_list` to return query results as list of python dict (so we're
not too pandas-centric). Closes lancedb#555

Add `to_pandas` API and add deprecation warning on `to_df`. Closes lancedb#545

Co-authored-by: Chang She <chang@lancedb.com>
westonpace pushed a commit that referenced this issue Apr 5, 2024
Add `to_list` to return query results as list of python dict (so we're
not too pandas-centric). Closes #555

Add `to_pandas` API and add deprecation warning on `to_df`. Closes #545

Co-authored-by: Chang She <chang@lancedb.com>
alexkohler pushed a commit to alexkohler/lancedb that referenced this issue Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed Python Python SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants