sheetwise.detectors module

Table detection utilities.

class sheetwise.detectors.TableDetector(min_table_size=2)[source]

Bases: object

Detects table regions in spreadsheets

__init__(min_table_size=2)[source]
detect_tables(df)[source]

Detect table regions in the spreadsheet

Parameters:

df (DataFrame) – Input DataFrame

Return type:

List[TableRegion]

Returns:

List of detected table regions