diff --git a/src/itables/datatables_format.py b/src/itables/datatables_format.py index 5fb3b861..ee0a7f26 100644 --- a/src/itables/datatables_format.py +++ b/src/itables/datatables_format.py @@ -110,7 +110,7 @@ def datatables_rows(df, count=None, warn_on_unexpected_types=False, pure_json=Fa ) except AttributeError: # Polars DataFrame - data = list(df.iter_rows()) + data = df.rows() import polars as pl has_bigints = any(