4
My doubt is if there is any resource for me to be able to read excel rows and columns. For example: I have experimental data in excel containing header in the first row having about 12 columns of data, so [1:12] would be just the header, and about 30 rows of numerical data, I wanted to know exactly that, as it takes only of the data within that matrix, and then select each column and form a list?
For example, in this my spreadsheet in excel has 7 pages, before I would have to select some, or it will always take only the first?
– Mauricio Gabriel
As an example, you select the page using something like
sh = book.sheet_by_index(0)
, where0
is the index of the page.– Leonel Sanches da Silva
I was a little lost on this command, now it’s clearer, because sheet is page. I’m a beginner there I always miss these little things.
– Mauricio Gabriel
I ran some tests, and it gave me some unsatisfying results. First because I can not select for example only column 3 of sheet 3 and then select another column, because my goal is to select this data excluding the header and form a new list, to then form a chart.
– Mauricio Gabriel
Well, there’s no magic in it. I showed you the beginning of the path. The question says nothing about graphics. Anyway, with some research and some written code, you can arrive at a question that is closer than you want.
– Leonel Sanches da Silva
No, the Graphics I already know how to do, the problem is to select the files, if I can select these files and put them in list form I can make the chart from these data. 'Cause the way you’re at least reading everything, you can read all the blank data.
– Mauricio Gabriel
Yes, because as I told you, you wanted an answer to read the Excel data. The refinement of logic is not part of the question. This is with you.
– Leonel Sanches da Silva