Feb-21-2017, 04:24 PM
Hi Pandas Experts,
I used the pandas (pd) skiprow attribute to set the first 18 rows to be skipped.
Those are just headings and descriptions.
However, it looks like skiprows was interpreted as max rows to select or so because I only actually see 18 out of the 200+ rows.
Does someone have a suggestion why that might be? I can play around with skiprows to set it to 1-18 or even 40-18 the result is always very odd.
Please the linked image for additional informaiton.
I used the pandas (pd) skiprow attribute to set the first 18 rows to be skipped.
Those are just headings and descriptions.
However, it looks like skiprows was interpreted as max rows to select or so because I only actually see 18 out of the 200+ rows.
Does someone have a suggestion why that might be? I can play around with skiprows to set it to 1-18 or even 40-18 the result is always very odd.
Please the linked image for additional informaiton.
pd.read_excel('Energy Indicators.xls','Energy',skiprows=18,skip_footer=245)[Image: skiprows.png]