feat: Add sample of new_with_encoders and infer_encoder #32
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related issue: #31
Adds a sample to Python README showcasing
new_with_encoders
andinfer_encoder
. The sample is based on my current work on exporting Arrow data to PostgreSQL.Tested the script locally with a PostgreSQL database running on
localhost:5432
, and the final table looks like:Besides this sample, I'd be happy to contribute more documentation. Are there any plans to host documentation pages somewhere? E.g. GitHub pages or readthedocs? I'd be happy to contribute the Sphinx boilerplate to get that going (at least for the Python API docs, not sure how to mix Rust and Python docs).
Thank you!