To avoid the error add your new column to the original dataframe and then create the slice: .loc[row_indexer,col_indexer] = value instead .
確定! 回上一頁