Overview
UsingAnyParser, you can extract tables from your documents
Setup
Refer to the Quickstart guide to install the AnyParser SDK and get your api key. First, set up yourAnyParser client.
anyparser_pii.py
anyparser_pii method, passing in the following:
file_path(str): the path to the local file
anyparser_extract_tables.py
table_result(str): Tables represented in HTML formattotal_time(str): the time elapsed in seconds
Full Code
anyparser_extract_tables.py
Output
A string containing all the tables in HTML format.Full Notebook Examples
Check out these notebooks for more detailed examples of using both sync and async AnyParser.AnyParser Sync Extract Tables Example
Extracting key-values from a fake W2 document.
AnyParser Async Extract Tables Example
Extracting key-values from a fake W2 document.

