Is there a way to apply weights to arrays in
a data such as:
DF = DataFrame(Id = 1:10, Tablets = (rand(1:02:50),10), Desktops =(rand(1:02:50),10), Mobiles = (rand(1:01:50), 10))
If I wanted to apply a 0.4, 0.5, 0.1 proportion to Tablets, Desktops, and Mobiles, How would I approach this? I am seeing, SimpleRandom.jl? I am seeing this package applies the probabilities via report(), but is there a way the probabilities can be applied to the data in the DataFrame?