It would be great if SedonaDB DataFrames supported Python’s built-in len() by implementing __len__.
In Python data tooling, it’s common (and expected) that len(df) returns the number of rows in a dataframe-like object. For example, DuckDB relations/dataframes support this kind of “Pythonic” ergonomics.
Today, calling len(df) on a SedonaDB DataFrame raises a TypeError because the DataFrame type doesn’t implement __len__.