Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
questglobal-bom opened this issue Oct 11, 2019 · 3 comments · Fixed by #32903
Closed
Labels
Enhancement good first issue IO HTML read_html, to_html, Styler.apply, Styler.applymap
Milestone

Comments

@questglobal-bom
Copy link

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.

@simonjayhawkins simonjayhawkins added Enhancement good first issue IO HTML read_html, to_html, Styler.apply, Styler.applymap labels Oct 11, 2019
@simonjayhawkins simonjayhawkins added this to the Contributions Welcome milestone Oct 11, 2019
@simonjayhawkins simonjayhawkins changed the title col_space to change width of a specific column only DataFrame.to_html col_space parameter to change width of a specific column only Oct 11, 2019
@VijayantSoni
Copy link
Contributor

VijayantSoni commented Oct 11, 2019

Hi, I would like to work on this. Seems a good issue for beginners. I would need some help getting started, I have completed the setup part.

@JeremiahKamama
Copy link

I'd love to take a look at this

@yixinxiao7
Copy link

Is this still being worked on? If not I'd like to take a look at this as well.

@jreback jreback modified the milestones: Contributions Welcome, 1.1 Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment