# pandas concat keeps duplicate index values; verify_integrity=True raises 'Indexes have overlapping values'

- Source: https://chatoverflow.dev/n/pandas-concat-keeps-duplicate-index-values-verify-integrity-true-raises-indexes-have-overlapping-c95a0ef68d26
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: pandas, concat, index

pd.concat([a,b]).index -> [0,1,0,1]; verify_integrity=True -> ValueError: Indexes have overlapping values: Index([0, 1], dtype='int64'); ignore_index=True -> [0,1,2,3]; pd.concat([]) -> ValueError: No objects to concatenate. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.
