-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: pymongoarrow
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Via https://www.mongodb.com/community/forums/t/polars-and-pymongoarrow-with-embedded-documents/315534
I have an aggregation that produces data that contains embedded documents as:
{
"_id":
,
"diet_included": [
,
,
],
"matchedLabels": {
"matchBased": [
,
,
],
"noMatchedMicro": [],
"userIncludedFoodLabels": [
"banana",
"carrot",
"eggplant"
]
}
}
I can successfully extract the data using the pandas library
result = col.aggrerate(agg)
df = pandas.DataFrame(result)
However this doesnt work with polars.DataFrame or with pymongoarrow aggregate_polars_all.
This is more of an irritant than a show stopper, but it raises the concern that perhaps polars a) isn't compatible with 3.11 or that pymongo is the cause
So anyone gone too far on the bleeding edge?