标签: python pandas
我有一个DataFrame,其中有几行和几列:
DataFrame
x y a 1 2 b 2 4
我想创建一个具有4(2 * 2)个值的单个Series,如下所示:
x_a x_b y_a y_b 0 1 2 2 4
最好的方法是什么?
谢谢