concat to Stack and Append
Combining tables vertically or sideways.
Stacking, Not Matching
Sometimes you do not match on a key, you just pile tables together. That job belongs to concat, not merge.
Stack Rows Vertically
Pass a list of frames to concat and it stacks them on top of each other into one taller table.
pd.concat([jan, feb, mar])All lessons in this course
- Inner, Left, Right, and Outer
- Merge on Keys and Indexes
- concat to Stack and Append
- Diagnose Bad Joins