GithubHelp home page GithubHelp logo

Comments (5)

josevalim avatar josevalim commented on August 16, 2024 4

I think from_records can be a bit misleading because of Erlang records. My suggestion would be to go with from_list. It has the benefit we can even change it to support lists of maps, lists of tuples, etc in the future.

from explorer.

cigrainger avatar cigrainger commented on August 16, 2024 1

Oh totally, from_records or from_list_of_maps (the former certainly has a better ring to it) has been on the list and I'm feeling that pain as well in my use of it. Your solution looks good! I'll have a think as to whether I can serialise it and do the conversion rust-side to avoid a couple potentially expensive passes over the array elixir-side. This is one of the challenges with Polars being based on Arrow, which is columnar, vs Elixir records being row-oriented.

from explorer.

cigrainger avatar cigrainger commented on August 16, 2024 1

Good point! I like from_list. I'm less enamoured with the inverse in to_list but I think I can get over it. 😛

from explorer.

cigrainger avatar cigrainger commented on August 16, 2024 1

@kimjoaoun sure! Feel free to have a run at it :).

from explorer.

kimjoaoun avatar kimjoaoun commented on August 16, 2024

Hi, @cigrainger can I get this one?

from explorer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.