Comments (5)
@dustinfarris this is not supported right now, but you can disable the compilation of the Polars by adding the option skip_compilation?: true
to the Explorer.PolarsBackend.Native
module, where Rustler is configured. Reference for these options can be found in Rustler's doc.
Just make sure that the file priv/native/libexplorer.*
exists. This file is generated when Polars is compiled with Rustler and the extension can changed based on your OS.
We are researching a way to use precompiled Polars. Stay tuned :)
from explorer.
Just to give an update: we are waiting for this PR to get merged (or we publish that work as a separated package): rusterlium/rustler#419
I can ping you here when we have the feature :)
from explorer.
@dustinfarris precompiled Polars will be available soon. I was closing as I thought @philss answer solved the specific issue -- if that's not right I'm happy to reopen.
ok got it thanks for clarifying — i'll keep watching the repo for an update on precompiled.
fyi for anyone else watching this, we went with a slightly different workaround:
config :explorer, Explorer.PolarsBackend.Native,
# By default, Polars compiles inside a build directry in deps/explorer.
# Fully compiling Polars can take well over 15 minutes. This config moves the
# location outside of deps, so that Polars does not have to fully re-compile
# whenever deps is cleaned or re-created. To force Polars to recompile, just
# remove _explorer from your project root.
target_dir: Path.expand("_explorer/build")
which has been working fairly well in CI (except when GitHub Actions randomly busts our cache for no reason)
from explorer.
@cigrainger was this resolved?
from explorer.
@dustinfarris precompiled Polars will be available soon. I was closing as I thought @philss answer solved the specific issue -- if that's not right I'm happy to reopen.
from explorer.
Related Issues (20)
- Precompiled NIFs for freebsd HOT 2
- Add parse datetime from string HOT 1
- add DataFrame.frequencies/2 HOT 1
- Q: How to specify that a number is an epoch when reading a Parquet file? HOT 4
- Normalise errors to return `Exception.t()` from the backend HOT 6
- Document `:backend` and `:lazy` options for `from_*` IO functions HOT 1
- Normalize IO dataframe operations to return {:error, Exception.t}
- `mix ci` difficulties on MacOS as an Elixir beginner HOT 2
- `Explorer.Series.cut` crashes when series is a dataframe field HOT 1
- Add binding to str.slice and/or str.split and/or add trim/2 HOT 6
- `DataFrame.from_csv` incorrectly reads "NA" as `nil` HOT 2
- [Question] Linting Elixir code as an Elixir beginner HOT 1
- Pairwise operations HOT 2
- mutate only certain rows based on a filter? HOT 5
- It is not clear how to filter on categories HOT 3
- Aggregate a series to list in groupby HOT 2
- Missing behaviour on filtering DataFrames on categories. HOT 3
- &Explorer.DataFrame.print/2 does not print header names if no options is provided HOT 4
- Pass dtype to Series callbacks
- Use sink cloud versions of ipc HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from explorer.