並前往https://datascience.stackexchange.com/questions/107460/best-way-to-optimize-dataframe-row-by-row-sum-of-squared-errors-calculation