sheetwise.data_types module

Data types and structures used throughout the SpreadsheetLLM package.

class sheetwise.data_types.CellInfo(address, value, data_type, format_string=None, row=0, col=0)[source]

Bases: object

Information about a spreadsheet cell

address: str
value: Any
data_type: str
format_string: Optional[str] = None
row: int = 0
col: int = 0
__init__(address, value, data_type, format_string=None, row=0, col=0)
class sheetwise.data_types.TableRegion(top_left, bottom_right, rows, cols, confidence=0.0)[source]

Bases: object

Represents a detected table region in the spreadsheet

top_left: str
bottom_right: str
rows: range
cols: range
confidence: float = 0.0
__init__(top_left, bottom_right, rows, cols, confidence=0.0)