mongo-arrow
mongo-arrow copied to clipboard
Casting timestamp in find_panads_all()
trafficstars
Hi, i'm facing this issue when to try make my mongo collection into pandas dataframe using the find_pandas_all() function
authors_pyarrow = Schema({"_id": ObjectId, "first_name": pyarrow.string(), "last_name": pyarrow.string(), "date_of_birth": datetime})
df = production_db.author.find_pandas_all({}, schema=authors_pyarrow) print(df.head())
Thanks for reporting this issue, can you please elaborate? What's the issue? If there's an error, please include the entire error traceback. If the issue is unexpected data, please include the actual data vs. the data you expected.