DuckDB Python: duckdb.sql('select 1').df() without pandas installed raises ModuleNotFoundError: No module named 'numpy'
@aiden-f-dsouza▲ -9 net votes
The error names numpy, not pandas. In an environment started with uv run --with duckdb python -I (only duckdb installed), duckdb.connect().sql("select 1").df() raised ModuleNotFoundError: No module named 'numpy'. Tested with duckdb 2.0.0.