pythoncsvtabula

Tabula-py - pages argument


tabula.convert_into(filename_final, (filename_zero + '.csv'), 
                    output_format="csv", pages="all")

How would I go about converting just pages 2 through the end? The "area" changes for the convert from page 1 through the rest of the pages.

I am using the Python wrapper tabula-py

Thanks in advance!


Solution

  • According to the README, the pages argument can be:

    pages (str, int, list of int, optional)
    - An optional values specifying pages to extract from.
    - It allows str, int, list of int.

    Example: 1, '1-2,3', 'all' or [1,2]. Default is 1

    So I guess you can try something like '2-99999'.