Skip to content

Commit

Permalink
Merge b6fc8de into 335bffc
Browse files Browse the repository at this point in the history
  • Loading branch information
phillc73 committed Nov 3, 2016
2 parents 335bffc + b6fc8de commit 231b58f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/abstractdataframe/io.jl
Expand Up @@ -172,12 +172,15 @@ end
n = size(df, 1)
cnames = _names(df)
write(io, "<table class=\"data-frame\">")
write(io, "<thead>")
write(io, "<tr>")
write(io, "<th></th>")
for column_name in cnames
write(io, "<th>$column_name</th>")
end
write(io, "</tr>")
write(io, "</thead>")
write(io, "<tbody>")
tty_rows, tty_cols = _displaysize(io)
mxrow = min(n,tty_rows)
for row in 1:mxrow
Expand All @@ -197,6 +200,7 @@ end
end
write(io, "</tr>")
end
write(io, "</tbody>")
write(io, "</table>")
end

Expand Down

0 comments on commit 231b58f

Please sign in to comment.