Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5728

Investigate support for data frames (polars-ruby)

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      The gem https://github.com/ankane/polars-ruby adds supports for Dataframes to Ruby. These are very useful for in-memory analytics on data, and are common in datascience.

      It would be useful to investigate Mongoid's support for dataframes. For example:

      • Add shortcut to output query results as a dataframe. In MONGOID-5411 there is a request to be able to specify Criteria output format something like:

       

      User.where(name: "Bob").as(:json)
      
      

      It would be useful to be able to do `as(:df)` as well.

      • Consider how projection mapping only/except works with data frames (I haven't tested it.)

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            shields@tablecheck.com Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: