import pandas as pd file = r"E:\Python\python_Shell\6851-流量-10GE1_0_47.csv" df = pd.read_csv(file, converters={" ": str}) for i in df.values: print(i[1], i[2])