narwhals-dev / narwhals

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

docs: Document more return types #1381

Closed MarcoGorelli closed 1 week ago

MarcoGorelli commented 1 week ago

towards #1293 , this adds return types in a bunch of places where the return type isn't too obvious and so are kind of high-priority

also enables a few ruff rules

will another pass later, this is quite tedious to review

The rest of the missing methods we can do at the sprint

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