Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Casting timestamp in find_panads_all() #137

Open
OS1ZA opened this issue Mar 4, 2023 · 1 comment
Open

Casting timestamp in find_panads_all() #137

OS1ZA opened this issue Mar 4, 2023 · 1 comment

Comments

@OS1ZA
Copy link

OS1ZA commented Mar 4, 2023

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())

@ShaneHarvey
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants