-
Notifications
You must be signed in to change notification settings - Fork 370
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
unique fails with column-type FixedDecimal #3418
Comments
@nalimilan - we need to make a decision here. FixedPointDecimals.jl does not support conversion of integer @baumgold - the simplest fix would be on FixedPointDecimals.jl side if they added support for conversion of integer values to |
@bkamins - thanks for the quick response. I would be happy with a fix on the FixedPointDecimals.jl side. I'm not familiar enough with the purpose of |
It looks like the following may be the correct implementation but I'm not confident. Thoughts?
|
@baumgold - it is not the type of the numbers you use but the actual value. If your values were not actually all integers things would work:
Note that
It is just the shorthand @nalimilan - probably we can change @baumgold - as a temporary fix you can define |
I logged JuliaMath/FixedPointDecimals.jl#91 to request that |
Trying to call unique on a DataFrame that contains a column of type FixedDecimal fails with a MethodError:
Note this may well be a problem with FixedPointDecimals.jl rather than DataFrames.jl. Version and environment information:
The text was updated successfully, but these errors were encountered: