将系列追加到数据帧作为行

时间:2018-03-28 23:50:14

标签: python pandas

我有以下系列和数据框。我想将转置后的序列附加或连接到数据帧上,这样数据帧只有一行。

系列:

No.                                    9
Ticker                              LULU
Company         Lululemon Athletica Inc.
Sector                    Consumer Goods
Industry      Textile - Apparel Clothing
Country                           Canada
Market Cap                        11.87B
P/E                                42.72
Price                              85.96
Change                             9.21%
Volume                          10704010
Name: 8, dtype: object

数据帧:

     Ask   Bid  Chg     Expiry        IV  IsNonstandard  Last  \
57  1.05  0.87 -5.0 2018-04-06  0.333014          False  0.85

             Last_Trade_Date  Open_Int     PctChg      ...       \
57  2018-03-28T19:42:27.000Z       8.0 -85.470085      ...

   Underlying_Price Update_Date  Update_Time   Vol  \
57            85.96    20180328     14:56:13  65.0

                                 _id  iteration Start Price Diff from Current  \
57  LULU_20180406_20180328_26_p_84.0         26        0.96         -0.022801

    Closed Current Price
57   False          None

[1 rows x 25 columns]

0 个答案:

没有答案
相关问题