9 questions
1
vote
1
answer
119
views
How to place tables next to each other with tabulate
I am trying to use tabulate and MySQL to make and organize a table of Pokémon cards. unfortunately, the method I am using (different tables for each type) makes the tables hard to find once printed ...
0
votes
0
answers
67
views
How show a subset of columns using Python tabulate library
I am using tabulate to quickly print to screen a list of dicts. Works great except for one small thing I can't figure out. Each dict has 10 keys and I only want to print out 5 or 6 keys. Is there a ...
0
votes
1
answer
307
views
Postgres - TypeError: tabulate() got an unexpected keyword argument 'colalign'
I have problem in Postgres 16.2 with plpython procedure and library tabulate.
I created procedure:
CREATE OR REPLACE PROCEDURE dpl.__test_tabulate()
LANGUAGE plpython3u AS $plpy$
from tabulate import ...
0
votes
0
answers
62
views
Float column width are not same like other column using tabulate
I have code where the Selected Probability value is float type, and im using Tabulate to print it into table.
The problem is the width of Selected Probability column. Here is the simplified code:
from ...
0
votes
1
answer
3k
views
I want to change a tabulated table html output in python
I am using streamlit and loading data that I would like to put into a table with more customization than is currently offered by st.dataframe and st.table.
Below I use the tabulate package to change ...
0
votes
1
answer
89
views
How do I put my output csv (list of keys) in a table format where the keys are the top headings and all values are below
I am trying to put a list of keys which is a csv output of a python(show ip interface brief) command into a table using some sort of textfsm/tabulate tool. I used tabulate with headers to try and put ...
0
votes
1
answer
2k
views
Colorama not working with Tabulate to display colored output in Python
I am attempting to create a colorful table in Python using the tabulate and colorama libraries. However, despite having both libraries installed and confirmed that colorama works fine with other ...
1
vote
1
answer
790
views
to_markdown doesn't pass intfmt to tabulate
Comma separation seems to work fine without a Pandas DataFrame. Executing
from tabulate import tabulate
print(tabulate([['2023m06',2000],['2023m05',100000]],
tablefmt='rounded_grid',
...
1
vote
1
answer
1k
views
How to use tabulate.SEPARATING_LINE when passing data as a list of dictionaries?
I'm trying to insert a SEPARATING_LINE in a tabulate in Python.
The example with lists works perfectly:
import tabulate
print(tabulate.tabulate([["A", 200], ["B", 100], tabulate....