Closed korenmiklos closed 2 months ago
julia> @with DataFrame(x = 1:10) @generate y = SpecialFunctions.gamma(x)
ERROR: LoadError: UndefVarError: `SpecialFunctions` not defined
I cannot introspect modules that are not loaded by Kezdi.jl directly, because they are not yet loaded at compile time. Statistics.mean()
works, but Dates.year()
does not.
Indeed, Dates.year()
also works after I import Dates
within Kezdi.jl.
Also check functions defined in Main
.
julia> my_function(x) = x^2
my_function (generic function with 1 method)
julia> @generate e2 = my_function(AWARD_VALUE_EURO)
ERROR: LoadError: UndefVarError: `my_function` not defined
julia> @generate e2 = Main.my_function(AWARD_VALUE_EURO)
1098451×12 DataFrame