Support for filters in PrettyTables.jl

Hi guys!

I just committed the support for filters to PrettyTables.jl. It means that now you can add filters to print only the columns and/or rows you want. It turns out that this is a very good tool to analyze very big tables.

For example, let’s say you have a 10000x10 table and you want to see only the 3rd and 4th columns in which all the elements in the row (considering the entire table) are positive. Furthermore, you also want to highlight all the values that are greater than 0.5. Hence, you can do the following:

As you can see, the data is being filtered and we can easily see which rows and columns match the criteria.

I did not tag a new version yet because I would like to do more tests to see if this broke something. I would appreciate feedbacks :slight_smile:

4 Likes

Very cool stuff!

1 Like