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
==
Similar to :A + :B, we can have :A == 1 become ==(1) I think.
:A + :B
:A == 1
==(1)
The text was updated successfully, but these errors were encountered:
what difference does it make?
Sorry, something went wrong.
It might lower compile time latency for first calling the expression, thats all
julia> @time transform(df, :a => ByRow(==(1)) => :c) 0.000151 seconds (165 allocations: 9.984 KiB) 3×3 DataFrame Row │ a b c │ Int64 Int64 Bool ─────┼───────────────────── 1 │ 1 4 true 2 │ 2 5 false 3 │ 3 6 false julia> @time transform(df, :a => ByRow(t -> t == 1) => :c) 0.043623 seconds (45.06 k allocations: 3.008 MiB, 98.64% compilation time) 3×3 DataFrame Row │ a b c │ Int64 Int64 Bool ─────┼───────────────────── 1 │ 1 4 true 2 │ 2 5 false 3 │ 3 6 false
No branches or pull requests
Similar to
:A + :B
, we can have:A == 1
become==(1)
I think.The text was updated successfully, but these errors were encountered: