I have a big problem with converting SQL queries to Mongo DB for Python. I have a question if you know better methods for transferring SQL queries to Mongo DB queries?
I have two queries but I still have big problems with the syntax conversion to Mongo DB.
Maybe there is someone here who can help me?
Table
SELECT substring(CLIENT_ID, 1, 4) as SL , Avg(x) as x, Avg(y) as y
FROM [SLOT_USE]
I have tried various converters but the result is poor.
Maybe there is some other method pandas or another faster tool?