在使用原生Python3.6和控制台加载CSV时出现问题,返回TypeError: 'NoneType'object is not iterable。CSV包含2列,分别是department_id(int)和department(字符串)。 由于这是一个类型错误,我希望它是简单的东西,但我睡眠不足,我只是需要它来工作。这是我在CSV中读取的代码。任何帮助将不胜
我们想将我们的数据分成3部分,但我们得到了以下错误: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' 下面你可以看到我们的python代码: data = pd.read_csv('/content/drive/My Drive/GTruth.csv')
我尝试使用Python导入csv文件,但得到以下错误: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 5:call last) 1 # Read in the data
----> 2 df = pd.read_csv('movies.csv') 这是我<e