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
Show file tree
Hide file tree
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 do 8000 cs
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
boolean -> bool and newlines for render_links_*.html
  • Loading branch information
benjaminarjun committed Dec 12, 2018
commit bb637a895b92a1cdff0f4ffe03838245b816c1d8
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,7 @@ def to_html(self, buf=None, columns=None, col_space=None, header=True,

.. versionadded:: 0.23.0

render_links : boolean, default False
render_links : bool, default False
Convert URLs to HTML links.

.. versionadded:: 0.24.0
Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/io/formats/data/render_links_false.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
<td>pydata.org</td>
</tr>
</tbody>
</table>
</table>
2 changes: 1 addition & 1 deletion pandas/tests/io/formats/data/render_links_true.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
<td>pydata.org</td>
</tr>
</tbody>
</table>
</table>
0