You should look into dplyr [1] (part of the tidyverse) in R to see how intuitive this can get. You can do math directly on columns:
df |> dplyr::mutate(profit = Amount * Price - Losses)
For Julia, take a look at TidierData.jl [2], which provides similar tidy syntax via macros.