Table of Scores
{% macro header(col, label) %}
{% if sort == col %} {{ label }} {% if ascending %} {% else %} {% endif %}
{% else %}
{{ label }}
{% endif %}
{% endmacro %}
| # |
{{ header("player_id", "Player ID" ) }} |
{{ header("player_name", "Player Name" ) }} |
{{ header("score", "Game Score" ) }} |
{{ header("won", "Won" ) }} |
{{ header("won_score", "Won Score" ) }} |
{{ header("lost", "Lost" ) }} |
{{ header("lost_score", "Lost Score" ) }} |
{{ header("opponents_lost", "Opponents Lost" ) }} |
{{ header("opponents_lost_score", "Opponents Lost Score" ) }} |
{{ header("total_score", "Total Score" ) }} |
{% for index, row in evaluation_data.iterrows() %}
| {{ index }} |
{{ row.player_id }} |
{{ row.player_name }} |
{{ row.score }} |
{{ row.won }} |
{{ row.won_score }} |
{{ row.lost }} |
{{ row.lost_score }} |
{{ row.opponents_lost }} |
{{ row.opponents_lost_score }} |
{{ row.total_score }} |
{% endfor %}