-
Notifications
You must be signed in to change notification settings - Fork 201
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
Defining Numeric Field Widths #42
Comments
Try this on for size:
Basically just like
Would that work? When reading, however, float precision would be lost unless we used Python decimals. |
Hi Sean, Yeah! That looks really nice and easy. When printing the schema of a dataset would it show { 'code': 'int:10', 'length': 'float:12.6' } ? That looks great! Dennis |
Yep. |
Fixed in 22c6165. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A great feature would be to define or read the width of numeric fields.
For example, specify an integer field in a dbf to be 10 digits wide or a double or float field to be a width of 12 digits and 6 decimals.
Thanks!
Dennis
The text was updated successfully, but these errors were encountered: