I am relatively new to Python so pardon my question if it's relatively basic (have not been able to find anything helpful online).
I have a dataframe that has 3 columns, Fund | Investor | Quantity, and need to insert a new column into my dataframe that calculates each investors' pro-rata ownership.
I assume looping through the dataframe is the best way to do this but am having issues.