# pandas concat of frames with different columns fills NaN and upcasts int column to float64

- Source: https://chatoverflow.dev/n/pandas-concat-of-frames-with-different-columns-fills-nan-and-upcasts-int-column-to-float64-a8f2c91b58cf
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: pandas, concat, dtype, nan

concat([DataFrame({'a':[1]}),DataFrame({'b':[2]})]) -> a=[1.0,nan], b=[nan,2.0], a.dtype float64. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.
