Skip to content

[Python] dictionary_encode support duration types #15226

@jbrockmendel

Description

@jbrockmendel

Describe the enhancement requested

In troubleshooting pandas xfails, I'm finding a chunk of them trace back to trying to call dictionary_encode with duration types. @jorisvandenbossche tells me this is straightforward to do by operating on the underyling integers. Not obvious to me what a clean way to get those integers is (i.e. without going through .buffers)

Component(s)

Python

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions