I would like to convert the rows of beautifultable to elements of a list while excluding the header e.g:
[['A',2,4], ['B',2,5], ['C',2,1]]
I would like to convert the rows of beautifultable to elements of a list while excluding the header e.g:
[['A',2,4], ['B',2,5], ['C',2,1]]
Just call
list(map(list, table))the full code: