pandas.Series.equals

Series.equals(other)

Determines if two NDFrame objects contain the same elements. NaNs in the same location are considered equal.