我有一个连接索引的列表: [{0,1}, {2,3},....., {69, 31, 15}] each element can be of variable length 我想使用这些索引将这些索引处的行组合成另一个让我们取所有行都有数据的列的第一行的值。但是,如果数据存在的话,我想从其他列中推算出丢失的数据
我正在尝试合并两个都有'product_desc‘列的数据帧。我使用的是Pandas 0.13和Python 2.7。small_df = pd.merge(small_df, linregress_df, on = 'product_desc', how = 'left')pandas.core.index.InvalidIndexError: Reindexing only valid wi