I want to count the number of occurrences for each input in the column Echantillon. For example:
Echantillon Classe
1001 0
956 1
9658 2
1001 0
8566 2
956 1
How can this be done using Python?
value_counts