DataFramesMeta.jl icon indicating copy to clipboard operation
DataFramesMeta.jl copied to clipboard

Problem with eachrow and eachrow! + break/continue

Open bkamins opened this issue 3 years ago • 0 comments

Here is a MWE:

julia> df = DataFrame(a=1:2, b=2:3);

julia> @eachrow! df begin
               for i in 1:1
                   continue
                   println("and this is super bad as inner loop is affected")
               end
               continue
               println("should not happen")
           end;
and this is super bad as inner loop is affected
should not happen
and this is super bad as inner loop is affected
should not happen

bkamins avatar Jul 08 '22 08:07 bkamins