Let's say I have the following dataframe d1:
d1 = pd.DataFrame(data = {'col1': ["A", "C"], 'col2': ["B", "D"]}) I want to built a dataframe d2 with a single row. That row would concatenate the values of d1's rows, separated by a space. That is:
d2 = pd.DataFrame(data = {'col1': ["A B"], 'col2': ["C D"]}) What should I do?

