[Python] How to transform pyarrow integer column to cathegorical withnout mapping every value

Discussão em 'Python' iniciado por Stack, Janeiro 28, 2025.

  1. Stack

    Stack Membro Participativo

    I have a pyarrow table with a int column. Is it possible to transform it to cathegorical string without having to call col.map(dict) -> cast("cathegorical")?

    I would basicly like to just pass the dict to the table to make it know how to interpret the integers.

    Continue reading...

Compartilhe esta Página