JuliaEarth / GeoStats.jl

An extensible framework for geospatial data science and geostatistical modeling fully written in Julia
https://juliaearth.github.io/GeoStatsDocs/stable/
MIT License
506 stars 61 forks source link

`@groupby` macro throws an error with complex expressions #350

Closed juliohm closed 10 months ago

juliohm commented 10 months ago

The expression @groupby(geotable |> transf1 |> transf2, :CLASS) throws an error, but if we save the result of the first argument in a temporary variable, it works:

result = geotable |> transf1 |> transf2
@groupby(result, :CLASS)