-
I have a list of many rows that need to be append to a table, I try to do as follwing and failed >>> list2=[['1','2','3'],['4','5','6']]
>>> table.add_row(list2[0])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Python312\Lib\site-packages\rich\table.py", line 465, in add_row
raise errors.NotRenderableError(
rich.errors.NotRenderableError: unable to render list; a string or other renderable object is required if I use
|
Beta Was this translation helpful? Give feedback.
Answered by
l1t1
Oct 26, 2024
Replies: 1 comment
-
I solved it with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
l1t1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I solved it with
table.add_row(*list2[0])