最佳答案:1. 创建一个新的 DataFrame,并将原始 DataFrame 中的每一条记录作为一行添加到新的 DataFrame 中。2. 对新 DataFrame 中的每一行进行遍历,将列中的所有属性值依