Spaces:
Running
Running
Jon Solow
commited on
Commit
·
286c902
1
Parent(s):
2e8df88
Add headshot column as pic
Browse files- src/pages/1_Keepers.py +2 -1
src/pages/1_Keepers.py
CHANGED
|
@@ -46,6 +46,7 @@ def filtered_keeper_dataframe(data: pd.DataFrame, teams_list: list[str]):
|
|
| 46 |
|
| 47 |
show_columns = [
|
| 48 |
"team_name",
|
|
|
|
| 49 |
"name",
|
| 50 |
"team",
|
| 51 |
"position",
|
|
@@ -62,7 +63,7 @@ def filtered_keeper_dataframe(data: pd.DataFrame, teams_list: list[str]):
|
|
| 62 |
filter_dataframe(filtered_data),
|
| 63 |
hide_index=True,
|
| 64 |
use_container_width=True,
|
| 65 |
-
column_config={},
|
| 66 |
)
|
| 67 |
|
| 68 |
|
|
|
|
| 46 |
|
| 47 |
show_columns = [
|
| 48 |
"team_name",
|
| 49 |
+
"headshot_url",
|
| 50 |
"name",
|
| 51 |
"team",
|
| 52 |
"position",
|
|
|
|
| 63 |
filter_dataframe(filtered_data),
|
| 64 |
hide_index=True,
|
| 65 |
use_container_width=True,
|
| 66 |
+
column_config={"headshot_url": st.column_config.ImageColumn(label="img")},
|
| 67 |
)
|
| 68 |
|
| 69 |
|