MongoDB's documentation is profoundly unhelpful on this point. I want to create a pandas dataframe that just includes select fields from all documents. I don't want to query on some field's value. I want to include that field across all docs. Halp.
It's been a while since I used mongo but IIRC I just did a projection query to return the simplified documents I wanted. Something like, proj = mongodb.find(filter=None, projection={...})) df = pd.DataFrame(list(proj)) I'm not sure of a better way to do it.