We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It will be really convenient to have clickable urls, as opposing to manually copying them and opening a page each time. It will save time. As far as I remember pandas has https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.io.formats.style.Styler.html#pandas.io.formats.style.Styler, so maybe it can be used to achieve it.
pandas
The text was updated successfully, but these errors were encountered:
Workaround: classic notebook UI.
Sorry, something went wrong.
This snippet do the job, but it doesn't modify the df in-place, AFAIK (df.style returns a new Styler every time you call it).
df
df.style
Styler
def make_clickable(val): if isinstance(val, str) and re.search('^https?://', val): return f'<a target="_blank" href="{val}">{val}</a>' else: return val df.style.format(make_clickable)
Maybe there is a way to create a default Styler.
Wrap DataFrames in order to allow custom styling (closes #76)
5378208
_repr_html_
Replace DataFrames's default _repr_html_ (closes #76)
e3c106b
tcurvelo
No branches or pull requests
It will be really convenient to have clickable urls, as opposing to manually copying them and opening a page each time. It will save time.
As far as I remember
pandas
has https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.io.formats.style.Styler.html#pandas.io.formats.style.Styler, so maybe it can be used to achieve it.The text was updated successfully, but these errors were encountered: