Questions tagged [tabulate]

Count or tally of named items in an object or structure.

Various languages will have different functions for this operation. "table" or "crosstabs" are two such examples. The output may be multi-dimensional.

168 questions
-2
votes
1 answer

I want to print tabulated data in row but it is printing in column

here is what I tried for book in books: print (tabulate(book, headers=["ID", "Title", "Author", "Pub_year", "available", "Shelf Place"])) the output is
-2
votes
1 answer

I want to print a tabulated list using tabulate, but gives me error

list02 = [[101, 75.00, 69.31, 19, 'FAR'], [102, 75.00, 68.71, 19, 'FAR'], [103, 75.00, 67.55, 18, 'MIA'], [104, 75.00, 65.41, 18, 'FSD'], [105, 74.00, 64.39, 18, 'FAR'], [106, 73.00, 63.36, 17,…
Damian
  • 21
  • 4
-2
votes
2 answers

Tkinter problem with structure of tabulate table in tkinter label

I'm currently trying to print a table of data gathered from a database onto a GUI in tkinter, at the moment I'm using tabulate which runs fine in console, but as soon as I try to set the table as text as print as a label the table skews and the…
1 2 3
11
12