Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas read csv skip until expression found

df= pandas.read_csv("file.csv",header= None)
df_2= df.iloc[(df.loc[df[0]=='report field'].index[0]+1):, :].reset_index(drop = True)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #read #csv #skip #expression
ADD COMMENT
Topic
Name
7+9 =