arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joris Van den Bossche <>
Subject Re: Specific key order in dictionary_encode
Date Wed, 09 Jun 2021 11:09:50 GMT
Hi Albert,

That's a good question. AFAIK this is currently not possible (or at
least it's not directly integrated in the public C++/Python kernel),
but this sounds like a useful functionality to add (eg also to cover
pandas functionality to convert to categorical dtype with given
categories). Would you like to open a JIRA for it?


On Wed, 9 Jun 2021 at 09:58, Albert Villanova del Moral
<> wrote:
> Hello,
> I would like to know if it is possible to pass the keys (and in a specific order) to
dictionary_encode, so that the resulting dictionary contains these keys in that order.
> Thanks.
> Regards,
> Albert.
> --
> Albert Villanova del Moral
> Machine Learning Engineer @Hugging Face

View raw message