Why when I am trying to print the following code...
import pandas
import csv
passengersid=pandas.read_csv('test.csv', usecols=['PassengerId'])
print(passengersid)
...I am getting this:
Output
I am trying to get a simple list of values (without indexes of values and not a table) from the first (PassengersID) column in one csv file and then iterate and use it in the other csv file along with other data.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…