I think this may be a typing issue that could potentially be addressed by refining the backend type?
No error is thrown.
error: Argument "backend" to "from_dict" has incompatible type "Implementation"; expected "Literal['pandas', 'cudf', 'modin', Implementation.PANDAS, Implementation.CUDF, Implementation.MODIN, 'pyarrow', Implementation.PYARROW, 'polars', Implementation.POLARS] | Module | None" [arg-type]
Found 1 error in 1 file (checked 1 source file)
Describe the bug
I think this may be a typing issue that could potentially be addressed by refining the
backendtype?Steps or code to reproduce the bug
Expected results
No error is thrown.
Actual results
Please run narwhals.show_versions() and enter the output below.
Python dependencies: narwhals: 2.20.0 numpy: 2.3.5 pandas: 2.3.3 modin: 0.37.1 cudf: pyarrow: pyspark: polars: 1.42.1 dask: duckdb: ibis: sqlframe: