Kevin Klein

Results 16 comments of Kevin Klein

Hey there :) Is there some conventional wisdom yet as to how to replicate the following `polars` behaviour with `narwhals`? ``` import polars as pl df = pl.DataFrame({"group": [0, 0,...

That was fast! Thanks a lot -- looking forward to the next release! :)

Hi @hashhar -- thanks a lot for your response! Afaict this doesn't solve the problem. Running ```python from sqlalchemy import Engine, create_engine from sqlalchemy.engine.url import make_url from trino.sqlalchemy import URL...

The pattern I found in the test suite was `make_url(trino_url(...))` where `trino_url` is an alias for `trino.sqlalchemy.URL`, e.g. here: https://github.com/trinodb/trino-python-client/blob/2108c38dea79518ffb74370177df2dc95f1e6d96/tests/unit/sqlalchemy/test_dialect.py#L28 This same pattern doesn't seem to work in my case....

> drivername, not driver. Unfortunately, that doesn't work for me either: ``` url = URL( ^^^^ TypeError: _url() got an unexpected keyword argument 'drivername' ``` > Also if you did...

This solved it - thanks a lot!! Is there something we can do to improve the error handling? Happy to contribute.