I have two dataframes with identical column names and dtypes, similar to the following:
A object B category C category >
JohnE's answer is helpful, but in pandas 0.19.2, union_categoricals can only be imported as follow: from pandas.types.concat import union_categoricals
union_categoricals
from pandas.types.concat import union_categoricals