Does anyone know how pandas.df.sample normalizes the weights: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.sample.html
For example if I just give the weights counts for each input: Does it just do something like [count1/sum_counts, count2/sum_counts, ...] ? Or does it do something such as Softmax? https://en.wikipedia.org/wiki/Softmax_function