From 4a008e452eb270c07a9c84b860457db8ef52dfc5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 14 Dec 2024 15:02:59 +0000 Subject: [PATCH] Updating README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 9c05c96..2890a15 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,18 @@ Cells are objects with a common base class of `Cell`. All cell types have a property `value` which returns the contents of the cell as a python datatype. Available cell types are: +| Cell type | value type | Additional properties | +|--------------|----------------------|--------------------------------------------------------------------------------------------------------| +| NumberCell | `float` | | +| TextCell | `str` | | +| RichTextCell | `str` | See [Rich text](https://masaccio.github.io/numbers-parser/api/cells.html#numbers_parser.RichTextCell) | +| EmptyCell | `None` | | +| BoolCell | `bool` | | +| DateCell | `datetime.datetime` | | +| DurationCell | `datetime.timedelta` | | +| ErrorCell | `None` | | +| MergedCell | `None` | See [Merged cells](https://masaccio.github.io/numbers-parser/api/cells.html#numbers_parser.MergedCell) | + Cell references can be either zero-offset row/column integers or an Excel/Numbers A1 notation. Where cell values are not `None` the property `formatted_value` returns the cell value as a `str` as