Spaces:
Sleeping
Sleeping
poemsforaphrodite
commited on
Commit
•
15e9b22
1
Parent(s):
b413b48
Update app.py
Browse files
app.py
CHANGED
@@ -590,9 +590,9 @@ def show_paginated_dataframe(report, rows_per_page=20):
|
|
590 |
truncated_url = truncate_url(url)
|
591 |
return f'<a href="{url}" target="_blank">{truncated_url}</a>'
|
592 |
|
593 |
-
report['
|
594 |
|
595 |
-
columns = ['
|
596 |
report = report[columns]
|
597 |
|
598 |
sort_column = st.selectbox("Sort by:", columns[1:], index=columns[1:].index('impressions'))
|
|
|
590 |
truncated_url = truncate_url(url)
|
591 |
return f'<a href="{url}" target="_blank">{truncated_url}</a>'
|
592 |
|
593 |
+
report['page'] = report['page'].apply(make_clickable)
|
594 |
|
595 |
+
columns = ['page', 'query', 'impressions', 'clicks', 'ctr', 'position', 'relevancy_score']
|
596 |
report = report[columns]
|
597 |
|
598 |
sort_column = st.selectbox("Sort by:", columns[1:], index=columns[1:].index('impressions'))
|