现在这个变量是我称之为rows的数据帧。我需要随机地对rows进行混洗,所以我必须将它们转换为一个行列表rows_list = rows.collect()。我取x所需的随机行数
for r in range(x): allrows2add.append(rows_list[r])现在,我想将allrows2add保存为一个配置单元表或附加一个现有的配置单元表ValueError: Some of types cannot be determined by the first 100 rows, please try aga