I\'m working with a PySpark dataframe and I need to do a Binomial regression, with more than one trial in each row. For example, my table looks like this: