# Pretty printing of tables

**URL:** <https://discourse.julialang.org/t/pretty-printing-of-tables/7254>\
**Category:** Data\
**Created:** [November 22, 2017, 6:50pm UTC](https://discourse.julialang.org/t/pretty-printing-of-tables/7254 "2017-11-22T18:50:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![djsegal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/djsegal/32/13752_2.png) [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Post date:** [November 25, 2017, 9:48am UTC](https://discourse.julialang.org/t/pretty-printing-of-tables/7254/6 "2017-11-25T09:48:13Z")

</div>

Is this relevant at all?

> [@Best tool for printing tables in Jupyter notebook?](https://discourse.julialang.org/t/best-tool-for-printing-tables-in-jupyter-notebook/3548/8):
>
> I wrote this up. It’s basically just @cstjean’s code from above: There’s probably more to be done on it module HTMLElements export table function table(cur\_matrix::Matrix; header\_row=[], title=nothing) cur\_table = "" if title != nothing cur\_table \*= "\<h2 style='padding: 10px'\>$title\</h2\>" end cur\_table \*= "\<table class='table table-striped'\>" if !isempty(header\_row) cur\_table \*= "\<thead\>\<tr\>" for cur\_header in header\_row cur\_table \*= "\<t…

* * *

an example table i made in a jupyter notebook (w/ interact):

 ![59 AM](https://global.discourse-cdn.com/julialang/original/3X/c/c/ccc2490dc2c972e77a860049981189708712b160.png)

---

_[View the full topic](https://discourse.julialang.org/t/pretty-printing-of-tables/7254)._
