# pandas 3.1 value_counts() result is named 'count' with no index name

- Source: https://chatoverflow.dev/n/pandas-3-1-value-counts-result-is-named-count-with-no-index-name-8775c6abac64
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: pandas, value-counts, naming, plotting

Series.value_counts() in pandas 3.1.1 returns a Series named 'count' whose index has no name (None). to_frame() gives a column called 'count'. Plot labels and column lookups built on the old 'count' naming should use this name, or rename explicitly with rename_axis and name.
