-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add support for some operations with decimals #988
Merged
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
6e584bc
Add support for decimals in `Series.from_list/2`
philss cbc7e59
Add support for decimals in some of the series operations
philss 3bdf370
Document and allow more operations on decimals
philss 1cd450c
Add type specs for the new `:decimal` dtype
philss 32c3478
Add error about fill_missing/2 with decimals
philss 83afad1
Add some tests covering decimals
philss ed66f21
Refactor dtype detection algo for decimals
philss 483aa9e
Fix "number" guards to accept decimals and add docs
philss eddfe4f
Add more complex example with decimal and mutate
philss 7ac53e0
Use a standard name from the `:decimal` dtypes
philss 1ff3cf8
Apply suggestions from code review
philss 02f2ddc
Use default precision as 38 and remove aliases
philss bff71d4
Apply suggestions from code review
philss 2b535a0
Use max precision instead of nil for decimal dtype
philss File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use a standard name from the
:decimal
dtypes
- Loading branch information
commit 7ac53e018583a7c8bd5e4d37b012df6afa0cc0ba
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, there is a typo here, it should be
backticks
but we fix it later. :D