Skip to content

DataFrame.to_html col_space parameter to change width of a specific column only #28917

Closed
@questglobal-bom

Description

@questglobal-bom

Code Sample, a copy-pastable example if possible

Problem description

Currently col_space changes width of all columns that are present in the dataframe. There must be a way to change the width of a specific column only while converting dataframe to html.

Expected Output

col_space to accept a list or dict where we can mention the column name to change only a specific column's width.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions