Skip to content

Instantly share code, notes, and snippets.

@prakashthegyan
Created February 8, 2020 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prakashthegyan/bae25e1528edb59046650f6ea86d8089 to your computer and use it in GitHub Desktop.
Save prakashthegyan/bae25e1528edb59046650f6ea86d8089 to your computer and use it in GitHub Desktop.
import pandas as pd
samples=table.find().sort("_id",pymongo.DESCENDING)[:100]
df=pd.DataFrame(samples)
df.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment