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