I am trying to concatenate the following two arrays of the following format (strings only):
series1 = ["a","b","c","d","e"]
series2 = ["b","c"]
What I need is a pandas dataframe / array of the following structure i.e. array elements are matched:
series1 | series2 |
---|---|
a | NaN |
b | b |
c | c |
d | NaN |
e | NaN |
Any direction on how to properly merge these two arrays would help. Thank you very much.