Usage
The helperfns package is made up of different sub packages such as:
tablestextutilsvisualization
The following simple example show how you can use this package to tabulate your data.
from helperfns.tables import tabulate_data
column_names = ["SUBSET", "EXAMPLE(s)", "Hello"]
row_data = [["training", 5, 4],['validation', 4, 4],['test', 3, '']]
tabulate_data(column_names, row_data)
Note
The above code will yield the following table in the terminal console or within a notebook.
SUBSET |
EXAMPLE(s) |
Hello |
|---|---|---|
training |
5 |
4 |
validation |
4 |
4 |
test |
3 |