You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if this behavior is intended or some small issue. I think the code would be clearer if we did not need to wrap the anonymous function with ByRow or define our own functions to pass to select/transform.
The text was updated successfully, but these errors were encountered:
Weird output when using select(), select!(), transform() and transform!() with anonymous function.
For example:
the output will be
However, if I try to give a new name to the transformed column:
the output will be:
One fix is to wrap the anonymous function using
ByRow()
:or define your own function:
I am not sure if this behavior is intended or some small issue. I think the code would be clearer if we did not need to wrap the anonymous function with
ByRow
or define our own functions to pass toselect/transform
.The text was updated successfully, but these errors were encountered: