When you merge two indexed dataframes on certain values using 'outer' merge, python/pandas automatically adds Null (NaN) values to the fields it could not match on. This is normal behaviour, but it changes the data type and you have to restate what data types the columns should have.
fillna()
or dropna()
do not seem to preserve data types immediately after the merge. Do I need a table structure in place?
Typically I would run numpy np.where(field.isnull() etc)
but that means running for all columns.
Is there a workaround to this?