Skip to content
Advertisement

Error in tabula tabula-py when specifying area parameter

I am getting an error when I specify the area in the following code:

JavaScript

This is the error i get:

Exception in thread "main" java.lang.UnsupportedOperationException: Can't add an oblique ruling.

Works fine if I do not specify the area.

Advertisement

Answer

It seems you are not providing the correct coordinates for area. The list should contain coordinates as [top,left,bottom,right].

area (list of float, list of list of float, optional): Portion of the page to analyze(top,left,bottom,right). Default is entire page.

For instance:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement