top | item 34423221

Fast DataFrames for Ruby

122 points| aa_memon | 3 years ago |github.com

25 comments

order

pelasaco|3 years ago

I think its really interesting such gems offering a ruby layer on top of rust libs. One issue that I have with that is - and maybe it's my ignorance - but is that necessary to bundle the original lib as https://github.com/ankane/polars-ruby/tree/master/ext/polars ? I can imagine that makes easier to avoid breakage, or with C extensions, because you dont have some dependency manager around, but couldn't we sort it with Cargo? For instance, having the version locked and it could download (and cache) the dependency when necessary?

ssaunier_|3 years ago

ankane’s gems are truly something.

petepete|3 years ago

Blazer is a particular favourite of mine. A former colleague taught herself SQL from zero knowledge by looking at and piecing together bits of other reports, experimenting with familiar (interesting) data and going on to build dashboards her team loved.

If we'd have just given the team a locked down Data Studio/PowerBI report none of that would have happened. Encouraging people to peek under the hood can be a huge benefit.

pantsforbirds|3 years ago

polars is a really great library. Cool to see it expanding into so many languages too.

oofbey|3 years ago

I'm trying to imagine why somebody would start a data analytics project in ruby.

vidarh|3 years ago

Having done financial modelling and data analytics in Ruby: Because I like Ruby, all the other backend code in those projects was in Ruby, and most projects don't rely on data volumes where the lack of something like Polars is an issue to begin with.

Most people don't have large datasets (even many people who think they have large datasets). Some do, or require more complex supporting libraries, and I get that Ruby then often isn't practical for them, and that's fine.

But it's nice to know I now have one more option reducing my need to consider another language.

looopTools|3 years ago

- Because some like it better than Python/Julia/<INSERT NEXT language>. - Because they want data analytics in a ruby application - Because Ruby is awesome

dajonker|3 years ago

Because you already have a Ruby project and you want add analytics to it?

jay-barronville|3 years ago

Other than the lack of library/tools comparable to Python (hence projects like this one), why not?

swalsh|3 years ago

Honestly I used Ruby about 6 years ago, but have been a python guy ever since. That said I believe Ruby's main advantage is its metaprogramming capabilities. You can build powerful DSLs in Ruby pretty quickly. Adding analytics to that could be useful in certain cases.

I'd like to see spark bindings first though before I would seriously consider it.

nurettin|3 years ago

Presumably to use polars.

claudiug|3 years ago

I'm trying to imagine why somebody would start writing so hateful comment on hn. how empty the soul of that human can be?