I want to add two csv's to one dataframe. The 2 Dataframes are similar but not the same. The Date is about 10 min apart. The length can be diffrent two. I need a left joint but how can I make wehen ther is no data it should be replaced with a zero or a null?
out1.csv:
date,speed
2021-10-03 02:00:01,5.0
2021-10-03 02:00:02,5.2
2021-10-03 02:00:03,5.1
out2.csv:
date,curret
2021-10-03 02:00:02,32.012
2021-10-03 02:00:03,32.12
2021-10-03 02:00:04,32.5
As a outpu I need a dataframe something like that:
date,speed,current
2021-10-03 02:00:01,5.0,null
2021-10-03 02:00:02,5.2,32.012
2021-10-03 02:00:03,5.1,32.12
2021-10-03 02:00:04,null,32.5