My query is regarding the below code given as an example. I have tried to read about it, but this seems like a complicated version. I would like to understand:
- [1.0, np.nan] - i understand this parameter is an array. However, I do not understand the syntax.
- p =[0.3,0.7] - again, i understand that this probability. Are we not biasing the dataframe with these probabilities ? Also, if you could help in understanding the syntax - is 0.3 for x and 0.7 for y -dimension variables?