8000 Add option for DataFrame.to_html() to render URL data as links (#2679) by benjaminarjun · Pull Request #23715 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Add option for DataFrame.to_html() to render URL data as links (#2679) #23715

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
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0702824
ENH: Add render_links option to DataFrame to_html()
benjaminarjun Nov 14, 2018
61c22a3
Remove usage of dedent
benjaminarjun Nov 28, 2018
67cfe5f
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Nov 28, 2018
793006d
HTML writer to write unicode
benjaminarjun Nov 28, 2018
ccffd5f
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Nov 28, 2018
13e20ea
Move _is_url import to correct position
benjaminarjun Nov 29, 2018
db31c1d
A few style fixes
benjaminarjun Dec 2, 2018
13bbca4
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Dec 2, 2018
61737ed
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Dec 3, 2018
a59bc4f
Pass expected start and end tags as parameters
benjaminarjun Dec 3, 2018
b9e5aa7
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Dec 3, 2018
14b79e1
Move render_links test expectations to separate files
benjaminarjun Dec 4, 2018
dd83afa
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Dec 4, 2018
2f02e28
Add render_links description and example to whatsnew and IO docs
benjaminarjun Dec 5, 2018
7ecbeb6
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Dec 5, 2018
7e0de08
Minor style fix in io.rst
benjaminarjun Dec 9, 2018
8683d56
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Dec 9, 2018
7b5b323
Style fix on render_links test
benjaminarjun Dec 9, 2018
505a2f0
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Dec 9, 2018
05f17f2
Add versionadded in io.rst
benjaminarjun Dec 9, 2018
bb637a8
boolean -> bool and newlines for render_links_*.html
benjaminarjun Dec 12, 2018
c01306d
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Dec 12, 2018
78ed4b9
Add link to IO docs from render_links whatsnew entry
benjaminarjun Dec 13, 2018
9f3e058
Merge branch 'master' into feature/render-df-link-issue2679_test
benjaminarjun Dec 13, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move _is_url import to correct position
  • Loading branch information
benjaminarjun committed Nov 29, 2018
commit 13e20ea9ad65414436f4532887aedcc1fa4f50ae
2 changes: 1 addition & 1 deletion pandas/io/formats/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
import pandas.core.common as com
from pandas.core.config import get_option

from pandas.io.common import _is_url
from pandas.io.formats.format import (
TableFormatter, buffer_put_lines, get_level_lengths)
from pandas.io.formats.printing import pprint_thing
from pandas.io.common import _is_url


class HTMLFormatter(TableFormatter):
Expand Down
0