So I am trying to switch my employer’s credit modeling code base over to Julia but am running into issues with wide datasets. In R you can apply a function to multiple columns columnwise, for example using dplyr
to square each column except species you could do something like this:
iris %>%
mutate(
across(
!(contains("Species")),
function(x) {x^2}
)
)
Is there an equivalent style of operation to this in DataFrames
?