Python Comparing Two Dataframes Horizontal Ridges In Thumb