I have 2 dataframes.
In df1 I have a lot of NaN which I want to substitute by values in df2. The number of values in df2 is the same of number of NaN in df1.
I have tried to join, merge and create cycle, but without success.
Thanks in advance!
pd.Dataframe 1
0 NaN
1 240.0
2 229.0
3 1084.0
4 2078.0
....
Name: Healthcare_1, Length: 9999, dtype: float64
pd.Dataframe 2
0 830.0
6 100.0
7 100.0
8 830.0
9 1046.0
...
Name: Healthcare_1, Length: 4797, dtype: float64