0PricingLogin
Data Science Academy · Lesson

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

  1. Inner, Left, Right, and Outer
  2. Merge on Keys and Indexes
  3. concat to Stack and Append
  4. Diagnose Bad Joins
← Back to Data Science Academy