-
Notifications
You must be signed in to change notification settings - Fork 46
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
Export gds result to polars instead of pandas #653
Comments
Hi there, thank you for bringing this to our attention. It's great to see performance improving and community interest in new libraries - we constantly monitor requests like this one. Pandas is still used and loved by the majority of our customers, while Polars is emerging. We will evaluate whether it's worth integrating natively, but in the meantime we will suggest using |
+1 for exporting to polars |
Moving this to the GDS Python Client repository. The GDS library itself is agnostic to Pandas/Polars. Exports are possible using Bolt or Arrow. The internals of GDS are not based on Arrow, but are our own custom implementation, with some third party data structures (not Arrow itself). |
The GDS Python Client wraps the Neo4j Python Driver (https://github.com/neo4j/neo4j-python-driver) which dictates the basis of the GDS Python Client's export functionality for Cypher queries, through the Neo4j Python Driver's To get this Cypher driver to export to Polars as well, I suggest raising an issue on that repository. I will also mention it via Neo4j-internal channels. The GDS Python Client can also export using Apache Arrow via the GDS Arrow Server. This does not use the Neo4j Python Driver, but makes an independent connection to the GDS Arrow Server using an Arrow client based on the As @gminneci mentions, Polars support reading from a Pandas DataFrame, so it possible to hook up the workflow. We are naturally very happy to see the interest in GDS and its software parts (library, client, database) so we are not rejecting this feature request. However, in the presence of workarounds and no very low-hanging possibilities for uniform integration (other than bundling Polars and calling Thank you for raising this issue! All the best |
https://pola.rs/
Polars is setting a brand new standard of data processing, it would be awsome to have it as an option for the output for a gds function.
It could be an parameter you can chose when when you build the gds client, exportType = [pandas, polars, apache arrow IPC, etc. ]
Not just having pandas who is depreciated
The text was updated successfully, but these errors were encountered: