# How Can I Display Meta-Data with PrettyTables in Julia?

**URL:** https://discourse.julialang.org/t/how-can-i-display-meta-data-with-prettytables-in-julia/103310
**Category:** General Usage
**Tags:** dataframes, prettytables, pretty-printing
**Created:** [August 28, 2023, 8:08pm UTC](https://discourse.julialang.org/t/how-can-i-display-meta-data-with-prettytables-in-julia/103310 "2023-08-28T20:08:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Olegg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/olegg/32/51316_2.png) [@Olegg](https://discourse.julialang.org/u/Olegg)
#### Post date: [August 28, 2023, 8:08pm UTC](https://discourse.julialang.org/t/how-can-i-display-meta-data-with-prettytables-in-julia/103310/1 "2023-08-28T20:08:20Z")

</div>

When using PrettyTables to display a DataFrame, eg with an HTML back-end, the size of the DataFrame is typically displayed at the top, as shown in the figure below. Is there a way to customize this to display some basic meta-data instead? For example, I would like to show the algorithm’s running time.

@Ronis_BR, your insights would be particularly appreciated.

Thank you!  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/3/7/3779ef382da9e56019642bff700d30e97fb6e136.png)

---

<div class="post-metadata">

### Author: ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)
#### Post date: [August 28, 2023, 8:15pm UTC](https://discourse.julialang.org/t/how-can-i-display-meta-data-with-prettytables-in-julia/103310/2 "2023-08-28T20:15:32Z")

</div>

Hi @Olegg !

I cannot test right now, but I pretty sure that you can pass the keyword `top_left_str` to the `show` function to override this string.

---

<div class="post-metadata">

### Author: ![Olegg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/olegg/32/51316_2.png) [@Olegg](https://discourse.julialang.org/u/Olegg)
#### Post date: [August 28, 2023, 8:53pm UTC](https://discourse.julialang.org/t/how-can-i-display-meta-data-with-prettytables-in-julia/103310/3 "2023-08-28T20:53:51Z")

</div>

Works perfectly! Thank you very much.
