Python Array Count Method Pandas Dataframe