Change width of specific columns using col_space param in df.to_html
DataFrame.to_html col_space parameter to change width of a specific column only

- [ ] closes #28917 
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Hello @SRIRAM777! Thanks for opening this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:



* In the file [`pandas/io/formats/html.py`](https://github.com/pandas-dev/pandas/blob/ad98e6b737f295362b33e2f8efa31f790e1d662d/pandas/io/formats/html.py):

> [Line 128:89](https://github.com/pandas-dev/pandas/blob/ad98e6b737f295362b33e2f8efa31f790e1d662d/pandas/io/formats/html.py#L128): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (99 > 88 characters)
> [Line 130:89](https://github.com/pandas-dev/pandas/blob/ad98e6b737f295362b33e2f8efa31f790e1d662d/pandas/io/formats/html.py#L130): [E501](https://duckduckgo.com/?q=pep8%20E501) line too long (92 > 88 characters)

 @SRIRAM777 there is already a PR for this, see #28929. > @SRIRAM777 there is already a PR for this, see #28929.

Hi @simonjayhawkins Since you had requested to avoid the usage of an additional argument in that PR, I thought of utilizing the existing argument col_space to accept dict values like {'col1':25,'col2':50} to handle column width for specific columns. I'm new to open source contribution. Am I not supposed to raise another PR when there's already one? we don't encourage competing PRs. The other PR is not stale. The OP is awaiting some clarification on the requirements. If you could review that PR and make suggestions, that'll be great. > we don't encourage competing PRs. The other PR is not stale. The OP is awaiting some clarification on the requirements. If you could review that PR and make suggestions, that'll be great.

@simonjayhawkins Sorry about that. So, should I close this one?  > So, should I close this one?

for now, that's probably best.

Thanks for taking the time to look into this.