Two Dataframes:
df1:
Date/Time temp 14:21:00 73.4 14:22:00 74 14:23:00 73.2zone_temp_1
Date/Time 15:36:20 73.500000 15:36:40 73.500000 15:37:00 73.400002 15:37:20 73.400002 15:37:40 73.400002 15:38:00 73.400002 15:38:20 73.400002
df2:
Date/Time temp 14:24:30 72.4 14:25:00 74 14:25:30 71.2zone_temp_1
Date/Time 15:36:20 73.500000 15:36:40 73.500000 15:37:00 73.400002 15:37:20 73.400002 15:37:40 73.400002 15:38:00 73.400002
I would like the concatenation to look like this:
Date/Time temp 14:21:00 73.4 14:22:00 74 14:23:00 73.2 14:24:30 72.4 14:25:00 74 14:25:30 71.2
Using pandas.concat as such df1= pd.concat([df1, df2])"df1= pd.concat([df1, df2])" leaves me with this
Date/Time 0 temp 14:21:00 73.4 NaN 14:22:00 74 NaN 14:23:00 73.2 NaN 14:24:30 NaN 72.4 14:25:00 NaN 74 14:25:30 NaN 0 71.2zone_temp_1
Date/Time 15:36:20 73.500000 NaN 15:36:40 73.500000 NaN 15:37:00 73.400002 NaN 15:37:20 73.400002 NaN 15:37:40 73.400002 NaN 15:38:00 73.400002 NaN 15:38:20 73.400002 NaN 15:36:20 NaN 73.500000 15:36:40 NaN 73.500000 15:37:00 NaN 73.400002 15:37:20 NaN 73.400002 15:37:40 NaN 73.400002 15:38:00 NaN 73.400002
This was marked as a repeat question but I have done my due diligence and can not find any solution.