📜  pandas 如何在某一行开始读取 csv - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:03.636000             🧑  作者: Mango

代码示例1
import pandas as pd
# Select file 
infile = r'path/file'
# Use skiprows to choose starting point and nrows to choose number of rows
data = pd.read_csv(infile, skiprows = 50, nrows=10)