narwhals-dev / narwhals

Lightweight and extensible compatibility layer between dataframe libraries!
https://narwhals-dev.github.io/narwhals/
MIT License
423 stars 76 forks source link

enh: series and expr round method #306

Closed FBruzzesi closed 3 months ago

FBruzzesi commented 3 months ago

What type of PR is this? (check all applicable)

Related issues

Checklist

If you have comments or can explain your changes, please do so below.

I just realized polars does not have a DataFrame.round, I guess df.select(pl.all().round()) would do the trick :)