https://bestthaifoodrecipeshopppp.blogspot.com/2023/11/how-to-vectorize-function-that-uses.html
How To Vectorize A Function That Uses Both Row And Column Elements Of A Dataframe