camelot-py/camelot/io.py

21 lines
338 B
Python

from .handlers import PDFHandler
def read_pdf(filepath, pages='1', mesh=False, **kwargs):
"""
Parameters
----------
filepath
pages
mesh
kwargs
Returns
-------
"""
# explicit type conversion
p = PDFHandler(filepath, pages)
tables, __ = p.parse(mesh=mesh, **kwargs)
return tables