# Stacking Tables with concat

pd.concat stacks tables that share their columns into one, ignore_index=True numbers the rows again from 0, a column added before stacking says which file each row came from, and a column named differently in one file shows up as a new column full of gaps.

![Cheat sheet: Stacking Tables with concat](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/9aa7d05b6865432f8ba50b609ab2b07d.webp)

- Category: Data Analysis
- Level: Apprentice
- Tags: concat(), DataFrame, python
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/pandas-concat-cheat-sheet
