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
If @aside is the last last statement in a chain then it is cut. Consider:
using DataFrames, DataFramesMeta (v0.8.0)
df =@chainDataFrame(a =1:4) begin@asideprintln(nrow(_))
end
This just prints out 4 and assigns nothing to df. This is unexpected and unfortunate because one sometimes wants to know how many rows are left (or something similar) after some data crunching steps.
A possible (but unattractive) workaround is to place an identity in the last line:
df =@chainDataFrame(a =1:4) begin@asideprintln(nrow(_))
identity
end
This now assigns df to be the expected 4 row DataFrame.
The text was updated successfully, but these errors were encountered:
If
@aside
is the last last statement in a chain then it is cut. Consider:This just prints out
4
and assignsnothing
todf
. This is unexpected and unfortunate because one sometimes wants to know how many rows are left (or something similar) after some data crunching steps.A possible (but unattractive) workaround is to place an
identity
in the last line:This now assigns
df
to be the expected 4 rowDataFrame
.The text was updated successfully, but these errors were encountered: