Joining in MongoDB using Python

Is Joining in MongoDB using Python possible? I need to do it for research purpose.
I am unable to use $lookup with Python.
Is there any other way to do it?
I have already tried to use
Thanks and Regards

Hi @sps,

My suggestion would be to build the query as you do in Mongo Shell ($lookup) and then using pymongo driver for aggregation query.

If you are not doing the full course, you can download the zip and we have examples written in notebooks directory like for using pymongo, you can find in notebooks/basic_aggregation.ipynb.