[Python] How to show all columns of a data table on Duck Python API?

Discussão em 'Python' iniciado por Stack, Março 8, 2025.

  1. Stack

    Stack Membro Participativo

    I have a clarification question to the associated question (How to see all columns of of DuckDb relation while printing it using show command). Currently using the Python API. Is there a way to configure it so that the outputted tables are not truncated like the screenshot below and displays all columns within the data? I have tried to look through the python API documentation (https://duckdb.org/docs/stable/clients/python/reference/) but it seems show() only has a max_rows setting but not a max_column.

    Ideally looking for something similar to Panda's set_option

    panda.set_option("display.max_columns", None)


    [​IMG]

    Thank you in advance!

    Continue reading...

Compartilhe esta Página