ibis-project / ibis

the portable Python dataframe library
https://ibis-project.org
Apache License 2.0
4.3k stars 537 forks source link

feat(api): support `type` arg to ibis.null() #9097

Closed NickCrews closed 1 week ago

NickCrews commented 2 weeks ago

This is mostly a UX nicety. Instead of needing to do ibis.null().cast(int), you can do it as ibis.null(int).

pandas tests were breaking due to not being resilient to None scalars. So I fixed a bunch of affected Ops, not just the ones that I needed to change.

cpcloud commented 1 week ago

@NickCrews If you're going to enable automerge you should use the squash option to avoid introducing a bunch of chore: apply review suggestions commits.