This page documents the rules for converting Python objects to DuckDB and DuckDB results to Python. Object Conversion: Python Object to DuckDB This is a mapping of Python object types to DuckDB Logical Types: None → NULL bool → BOOLEAN datetime.timedelta → INTERVAL str → VARCHAR bytearray → BLOB memoryview → BLOB decimal.Decimal → DECIMAL / DOUBLE uuid.UUID → UUID The rest of the conversion rules are as follows.