Pandas merge will be deprecated in favour of join in pandas 3.0. Switch to using join for all of the concatenation chapter.