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

Code fence syntax highlight in readme #205

Merged
merged 2 commits into from
Apr 9, 2024
Merged

Code fence syntax highlight in readme #205

merged 2 commits into from
Apr 9, 2024

Conversation

janosh
Copy link
Contributor

@janosh janosh commented Apr 8, 2024

quick clarifying question if i may: is this library solely concerned with reading? it does not handle numpy type conversion to BSON on DB write?

context: it appears numpy.bool_ fails to BSON-serialize with numpy v2 materialsproject/fireworks#522

@janosh janosh requested a review from a team as a code owner April 8, 2024 14:41
Copy link
Collaborator

@ShaneHarvey ShaneHarvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the pre-commit failures? https://github.com/mongodb-labs/mongo-arrow/actions/runs/8602051838/job/23578941507?pr=205#step:4:142

is this library solely concerned with reading? it does not handle numpy type conversion to BSON on DB write?

We support writing as well via the write() function:
https://mongo-arrow.readthedocs.io/en/stable/quickstart.html#writing-to-mongodb

@janosh
Copy link
Contributor Author

janosh commented Apr 9, 2024

pre-commit should be green now.

thanks for the quick reply, good to know about write! is there some function that recursively converts a dict containing numpy/pandas types to std lib Python types?

@ShaneHarvey
Copy link
Collaborator

@ShaneHarvey ShaneHarvey merged commit 214978a into mongodb-labs:main Apr 9, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants