diff --git a/camelot/io.py b/camelot/io.py index a27a7c6..00542d1 100644 --- a/camelot/io.py +++ b/camelot/io.py @@ -43,6 +43,9 @@ def read_pdf( columns^ : list, optional (default: None) List of column x-coordinates strings where the coordinates are comma-separated. + rows^ : list, optional (default: None) + List of rows y-coordinates strings where the coordinates + are comma-separated. split_text : bool, optional (default: False) Split text that spans across multiple cells. flag_size : bool, optional (default: False) diff --git a/camelot/parsers/stream.py b/camelot/parsers/stream.py index 98a8a83..deb61eb 100644 --- a/camelot/parsers/stream.py +++ b/camelot/parsers/stream.py @@ -20,7 +20,7 @@ class Stream(BaseParser): """Stream method of parsing looks for spaces between text to parse the table. - If you want to specify columns when specifying multiple table + If you want to specify rows or columns when specifying multiple table areas, make sure that the length of both lists are equal. Parameters @@ -52,6 +52,9 @@ class Stream(BaseParser): column_tol : int, optional (default: 0) Tolerance parameter used to combine text horizontally, to generate columns. + rows : list, optional (default: None) + List of rows y-coordinates strings where the coordinates + are comma-separated """