Python Comparing Two Dataframes Vs Arrays Definition Math