Skip to content

BUG: DataFrame.to_html ignores formatters #37958

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

Merged
merged 6 commits into from
Nov 21, 2020

Conversation

ma3da
Copy link
Contributor

@ma3da ma3da commented Nov 19, 2020

@@ -654,6 +654,7 @@ I/O
- :meth:`to_excel` and :meth:`to_markdown` support writing to fsspec URLs such as S3 and Google Cloud Storage (:issue:`33987`)
- Bug in :meth:`read_fw` was not skipping blank lines (even with ``skip_blank_lines=True``) (:issue:`37758`)
- :meth:`read_fwf` was inferring compression with ``compression=None`` which was not consistent with the other :meth:``read_*`` functions (:issue:`37909`)
- :meth:`DataFrame.to_html` was ignoring ``formatters`` on columns of dtype ``ExtensionDtype`` (:issue:`36525`)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`DataFrame.to_html` was ignoring ``formatter` argument` for ``ExtensionDtype`` columns

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@ma3da ma3da marked this pull request as ready for review November 20, 2020 07:50
@jreback jreback added IO HTML read_html, to_html, Styler.apply, Styler.applymap Output-Formatting __repr__ of pandas objects, to_string labels Nov 20, 2020
@jreback jreback added this to the 1.2 milestone Nov 20, 2020
@jreback jreback merged commit f823a85 into pandas-dev:master Nov 21, 2020
@jreback
Copy link
Contributor

jreback commented Nov 21, 2020

thanks @ma3da very nice

arw2019 pushed a commit to arw2019/pandas that referenced this pull request Nov 21, 2020
@ma3da ma3da deleted the GH36525_html_formatting branch November 26, 2020 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO HTML read_html, to_html, Styler.apply, Styler.applymap Output-Formatting __repr__ of pandas objects, to_string
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: formatters ignored in to_html
3 participants