Skip to content

ENH: added an optional css id to <table> tags created by frame.to_html #19593

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

Closed
wants to merge 1 commit into from

Conversation

samghelms
Copy link
Contributor

@samghelms samghelms commented Feb 8, 2018

This is useful for the reasons mentioned in #8496

  • Automatically create a random id for tables created using _repr_html_ using uuid.

  • Also updated test_repr_html_float to be more descriptive and avoid conflicts with random numbers in the id for_repr_html_

  • closes Add table id option to pandas.DataFrame.to_html  #8496

  • tests added / passed

  • passes git diff upstream/master -u -- "*.py" | flake8 --diff

  • whatsnew entry

@pep8speaks
Copy link

Hello @samghelms! Thanks for submitting the PR.

Line 1763:76: W291 trailing whitespace

Line 750:47: E251 unexpected spaces around keyword / parameter equals
Line 750:49: E251 unexpected spaces around keyword / parameter equals

Line 1874:1: W391 blank line at end of file

@samghelms samghelms closed this Feb 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add table id option to pandas.DataFrame.to_html
2 participants