This is the output of the data the way it is currently formatted 我已经尝试了下面的代码和其他一些方法,但是将它们全部放入一个数组中,我想使用它来处理表/数据框:
df2 = []
将open('winequality-white.csv','r')读为: file_input = reading.read()。split('\ n')
对于file_input中的行: df2.append(row.split(';'))
print(df2)