-
Type: Task
-
Resolution: Unresolved
-
Priority: 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-5411there 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.)
- related to
-
MONGOID-5411 Return query execution results as demongoized hashes without instantiating models
- Closed