[Python] How to enforce string type when reading CSVs in DuckDB?

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

  1. Stack

    Stack Membro Participativo

    I'm trying to read a CSV in DuckDB (Python) but one of the records has a string ID while the rest of the file has the ID field as an integer.

    I'd like to force reading it as a string, how to do it?

    Continue reading...

Compartilhe esta Página