-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Port to UDF/SQLAlchemy #30
Comments
I am considering updating this library to make it more flexible. The argminmax Rust crate is the beating heart of this library, and I recently updated it to support slices, vec, and comply with Apache Arrow while also adding nan-handling capabilities. I plan to propagate these changes as soon as I find the time. Unfortunately, my spare time is limited for the next 1.5 months due to some paper deadlines (where we - including @jonasvdd - will present some exciting new findings on time series downsampling 😉). I am not acquianted with the UDF/pipe mehthodology, but I'll certainly look into it! Thank you for bringing this to my attention 🤝 P.S.: the polars author also expressed his interest in integrating the argminmax project into polars: jvdd/argminmax#22 |
I am in a similar boat where I need to also crank out a few papers for my coursework haha! Need to stop procrastinating but hoping to use this library as an example for one of the papers :D |
When working on predict-idlab/plotly-resampler#154 - I realized that instead of pandas, we were now coupling our downsampling approach to numpy... Implementing to smth like IBIS would serve great flexibility & allow out-of-core support! I am just not 100% sure if this can achieve the same runtime performance as the current numpy implementation 🤔 This is definitely on my radar to investigate in the near future :) |
On another note, if you have finished any visualization-related papers that you are able to share, @jonasvdd & I would love to read & learn from it :) P.S.: our 1st paper is just submitted 🚀 |
Linking another UDF example: https://github.com/apache/arrow-datafusion-python/blob/main/examples/python-udf.py |
Definitely a non-trivial task but there is a growing library Ibis which aims to compile pandas-like syntax python to many different SQL backends. UDF's are supported for many SQL backends here so would be super interesting to be able to somehow port the functionality of this library to SQLAlchemy to be used with any database. There are some resources on how this was done in here but moving to something like Ibis/SQLAlchemy would be awesome as right now this is only really available in TimescaleDB
The text was updated successfully, but these errors were encountered: