1、读取csv import pandas as pd df = pd.read_csv('路径/py.csv') 2、取行号index_num = df.index 举个例子: i.
確定! 回上一頁