No more numpy
This commit is contained in:
parent
c55ab31671
commit
45e1340c35
4 changed files with 41 additions and 48 deletions
|
@ -14,37 +14,37 @@
|
|||
<table class="table table-hover table-condensed table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Year<br> </th>
|
||||
<th>January<br>°C</th>
|
||||
<th>February<br>°C</th>
|
||||
<th>March<br>°C</th>
|
||||
<th>April<br>°C</th>
|
||||
<th>May<br>°C</th>
|
||||
<th>June<br>°C</th>
|
||||
<th>July<br>°C</th>
|
||||
<th>August<br>°C</th>
|
||||
<th>September<br>°C</th>
|
||||
<th>October<br>°C</th>
|
||||
<th>November<br>°C</th>
|
||||
<th>December<br>°C</th>
|
||||
<th class="col-md-1">Year<br> </th>
|
||||
<th class="col-md-1">January<br>°C</th>
|
||||
<th class="col-md-1">February<br>°C</th>
|
||||
<th class="col-md-1">March<br>°C</th>
|
||||
<th class="col-md-1">April<br>°C</th>
|
||||
<th class="col-md-1">May<br>°C</th>
|
||||
<th class="col-md-1">June<br>°C</th>
|
||||
<th class="col-md-1">July<br>°C</th>
|
||||
<th class="col-md-1">August<br>°C</th>
|
||||
<th class="col-md-1">September<br>°C</th>
|
||||
<th class="col-md-1">October<br>°C</th>
|
||||
<th class="col-md-1">November<br>°C</th>
|
||||
<th class="col-md-1">December<br>°C</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for temp in temps %}
|
||||
<tr>
|
||||
<td>{{ temp[0]|int }}</td>
|
||||
<td>{{ temp[1]|round(2) }}</td>
|
||||
<td>{{ temp[2]|round(2) }}</td>
|
||||
<td>{{ temp[3]|round(2) }}</td>
|
||||
<td>{{ temp[4]|round(2) }}</td>
|
||||
<td>{{ temp[5]|round(2) }}</td>
|
||||
<td>{{ temp[6]|round(2) }}</td>
|
||||
<td>{{ temp[7]|round(2) }}</td>
|
||||
<td>{{ temp[8]|round(2) }}</td>
|
||||
<td>{{ temp[9]|round(2) }}</td>
|
||||
<td>{{ temp[10]|round(2) }}</td>
|
||||
<td>{{ temp[11]|round(2) }}</td>
|
||||
<td>{{ temp[12]|round(2) }}</td>
|
||||
<td>{{ temp[0] }}</td>
|
||||
<td>{{ temp[1][0] }}</td>
|
||||
<td>{{ temp[1][1] }}</td>
|
||||
<td>{{ temp[1][2] }}</td>
|
||||
<td>{{ temp[1][3] }}</td>
|
||||
<td>{{ temp[1][4] }}</td>
|
||||
<td>{{ temp[1][5] }}</td>
|
||||
<td>{{ temp[1][6] }}</td>
|
||||
<td>{{ temp[1][7] }}</td>
|
||||
<td>{{ temp[1][8] }}</td>
|
||||
<td>{{ temp[1][9] }}</td>
|
||||
<td>{{ temp[1][10] }}</td>
|
||||
<td>{{ temp[1][11] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue