← All notes

Combining tables in pandas: concat and merge

Answer: In pandas, merge() implements common SQL style joining operations. (S1)

concat

merge

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted).

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: pandas docs, Merge, join, concatenate and compare — pandas 3.1.1 documentation, BSD-3-Clause (pandas-dev/pandas LICENSE; Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team; Copyright (c) 2011-2026, Open source contributors; https://github.com/pandas-dev/pandas/blob/main/LICENSE); pandas docs, How to combine data from multiple tables — pandas 3.1.1 documentation, BSD-3-Clause (pandas-dev/pandas LICENSE; Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team; Copyright (c) 2011-2026, Open source contributors; https://github.com/pandas-dev/pandas/blob/main/LICENSE).

Cite this

Permanent ID: iil:note:r84ckw92

iinventedlight. 2026. "Combining tables in pandas: concat and merge." iinventedlight Library, iil:note:r84ckw92, version of 2026-11-04. https://iinventedlight.com/library/notes/pandas-merge-concat/. License: CC-BY-4.0.

@misc{iil_note_r84ckw92,
  author = {{iinventedlight}},
  title = {{Combining tables in pandas: concat and merge}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-04},
  url = {https://iinventedlight.com/library/notes/pandas-merge-concat/},
  note = {Permanent ID iil:note:r84ckw92. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt. This page in Markdown: /library/notes/pandas-merge-concat.md.