Francesco Bruzzesi

Results 280 comments of Francesco Bruzzesi

Thanks @dangotbanned - would it be worth it to start to prioritize this issue and work on it separately of #2572?

Hey @dangotbanned - reviving this conversation as I was implementing something similar recently. Regarding the `to_python`, I wonder what a complex type should map to. i.e. `nw.List(nw.Int64).to_python()` would be `list`...

Returning a list would definitly be consistent with polars `mode` behavior in a group by context. We might always return a list type (and enhance a bit the list namespace...

> Something like https://github.com/FBruzzesi/anyschema, but staying in Narwhals land instead. I am flattered 🙏🏼 I hinted a few times to the possibility of moving it under the narwhals-dev organization eventually,...

@danielgafni I will take a stab at getting anyschema to a somewhat usable state during the weekend. I will start by targeting Pydantic models. Do you mind if I tag...

@danielgafni I am going to close this issue as I don't think this feature will end up within the narwhals library itself. Maybe in the narwhals ecosystem 😉

> What do each of the backends do natively? - pandas, polars, pyarrow and dask return 0 - duckdb and pyspark (and sqlframe) return null 🥲

@MarcoGorelli I was checking using a different approach: ```py import pyarrow as pa import narwhals as nw data = {"a": [1, 2], "b": [3,4]} ( nw.from_native(pa.table(data)) .filter(nw.col("a")>3) .select(nw.all().sum()) ) ┌──────────────────┐...

Hey @msalvany - thanks for the contribution 🚀 As a little side note/to expand a bit more on Dan's comment - we try to mirror the polars API, therefore we...

Hey @msalvany first and foremost, thanks for updating the PR - it looks close to the finish line 🙏🏼 I have a few of comments, especially regarding tests: - In...