Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas data frame from part of excel better example

pd.read_excel('resultat-elections-2012.xls', sheet_name = 'France entière T1T2', skiprows = 2,  nrows= 5, usecols = 'A:H')
pd.read_excel('resultat-elections-2012.xls', index_col = None, skiprows= 2, nrows= 5, sheet_name='France entière T1T2', usecols=range(0,8))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #data #frame #part #excel
ADD COMMENT
Topic
Name
6+6 =