Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas how to start read csv at a certain row

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #start #read #csv #row
ADD COMMENT
Topic
Name
5+3 =