ibis-project / ibis

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

feat: remove `IntegerValue.label()` #9612

Open NickCrews opened 1 month ago

NickCrews commented 1 month ago

Putting this up for tracking it, not immediately actionable.

Once #9096 lands then I think we should remove the IntegerValue.label(labels, nulls) method. Users can easily switch to val.cases(*enumerate(labels), else_=nulls), and we can have this pointer in the deprecation notice.

_Originally posted by @NickCrews in https://github.com/ibis-project/ibis/pull/9096#discussion_r1586541965_

cpcloud commented 1 month ago

Seems reasonable!