/Users/bennyrhys/opt/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:2: FutureWarning: Sorting because non-concatenation axis is not aligned. A future version
of pandas will change to not sort by default.
To accept the future behavior, pass 'sort=False'.
To retain the current behavior and silence the warning, pass 'sort=True'.
/Users/bennyrhys/opt/anaconda3/lib/python3.7/site-packages/ipykernel_launcher.py:2: FutureWarning: Sorting because non-concatenation axis is not aligned. A future version
of pandas will change to not sort by default.
To accept the future behavior, pass 'sort=False'.
To retain the current behavior and silence the warning, pass 'sort=True'.
a
x
and
from
0
NaN
0.118006
0.976428
0.286200
1
NaN
0.554356
0.739202
0.441234
2
NaN
0.987343
0.032884
0.963760
3
NaN
0.730118
0.617397
0.943546
0
1.960326
0.792735
0.927720
NaN
1
1.002970
-1.015684
0.524749
NaN
2
0.103341
-0.676568
0.378511
NaN
Combine
Combine_first features Two sets of data, when the current set of nan, the latter set is filled. The combined group has less data than the previous group