Fixing Python Pandas concat That Resets Your Index and Creates Duplicates
When pd.concat() leaves you with a broken 0-to-N index or hundreds of duplicate rows you didn't expect, the fix is usually one or two parameters away. Here's exactly what's going wrong and how to correct it.