codedthinking / Kezdi.jl

An umbrella of Julia packages for data analysis, in loving memory of Gábor Kézdi
Other
9 stars 0 forks source link

bug: keep if without variables is not parsed #39

Closed korenmiklos closed 1 week ago

korenmiklos commented 1 week ago
julia> @keep df @if a < 4
ERROR: MethodError: getindex(::DataFrames.Index, ::Vector{Union{}}) is ambiguous.
gergelyattilakiss commented 1 week ago

It is parsed, but collect() on empty tuple is not matching the requirements for views.