We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
some of the examples give an error on julia 0.4.5
The following code
using DataArrays, DataFrames using DataFramesMeta df = DataFrame(x = 1:3, y = [2, 1, 2]) transform(df, newCol = cos(df[:x]), anotherCol = df[:x]^2 + 3*df[:x] + 4) @transform(df, newCol = cos(:x), anotherCol = :x^2 + 3*:x + 4)
produces
ERROR: MethodError: * has no method matching *(::Array{Int64,1}, ::Array{Int64,1})
*
replacing ^ by .^ fixes the problem, ie:
transform(df, newCol = cos(df[:x]), anotherCol = df[:x].^2 + 3*df[:x] + 4) @transform(df, newCol = cos(:x), anotherCol = :x.^2 + 3*:x + 4)
Best regards,
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
some of the examples give an error on julia 0.4.5
The following code
produces
replacing ^ by .^ fixes the problem, ie:
Best regards,
The text was updated successfully, but these errors were encountered: