How can I generate a frequency table (or histogram) for a single Series? For example, if I have my_series = pandas.Series([1,2,2,3,3,3]), how can I get a result like {1: 1, 2: 2, 3: 3} – that is, a count of how many times each value appears in the Series?
How can I generate a frequency table (or histogram) for a single Series? For
Share
Maybe
.value_counts()?