xlsx2csv icon indicating copy to clipboard operation
xlsx2csv copied to clipboard

Indexing for sheets start at 1 instead of 0

Open bvanelli opened this issue 1 year ago • 2 comments

Python arrays start at 0, so it is a bit confusing having to read indexes starting at 1. I know that 0 is meant to read all sheets, but in fact it is more intuitive to use None which is compatible with pandas definitions, for example.

Do you think this is generally a good idea or the current format is enough?

He had some quick discussion here https://github.com/pola-rs/polars/pull/6183 when trying to implement xlsx2csv and openpyxl together in the same API.

bvanelli avatar Jan 21 '23 14:01 bvanelli