surrealdb / surrealdb.py

SurrealDB SDK for Python
https://surrealdb.com
Apache License 2.0
174 stars 52 forks source link

Feature: import data from polars / arrow #53

Open AlexFrid opened 1 year ago

AlexFrid commented 1 year ago

Is your feature request related to a problem?

This would help users more easily get started with SurrealDB by importing data from in-memory formats.

Is there any chance of a from_arrow(), or from_polars() in the python client on the horizon? These are key resources from a datascience, mlops perspective. With the ability to object -> verb -> object, this makes a very nice potential for use as a knowledge graph, embedded with tables. https://discordapp.com/channels/902568124350599239/1018618253695795261/1092798175796019281

Describe the solution

Not sure how to go about doing this but opening this feature request to discuss.

Alternative methods

SurrealDB version

1.0.0-beta.9+20230402.5eafebd for macos on aarch64

surrealdb.py version

latest

Contact Details

No response

Is there an existing issue for this?

Code of Conduct

alexander-beedie commented 5 months ago

Being able to return query results in Arrow format would be huge too; massive win for numeric/machine-learning applications.