pandas how to start read csv at a certain row

Solutions on MaxInterview for pandas how to start read csv at a certain row by the best coders in the world

showing results for - "pandas how to start read csv at a certain row"
Paola
24 Jan 2020
1import pandas as pd
2# Select file 
3infile = r'path/file'
4# Use skiprows to choose starting point and nrows to choose number of rows
5data = pd.read_csv(infile, skiprows = 50, nrows=10)
6