The table uses (r['treeHeight'] or 0) which can accidentally treat 0 and None the same.
Refactor to explicitly check is None and handle that differently (e.g., show -1 or skip).
This makes the output more semantically correct and avoids hiding legitimate zero values.
The table uses (r['treeHeight'] or 0) which can accidentally treat 0 and None the same.
Refactor to explicitly check is None and handle that differently (e.g., show -1 or skip).
This makes the output more semantically correct and avoids hiding legitimate zero values.