You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I would like to propose a new method to be added to the Table class. I personally call it from_dict. The basic function of this method would be to populate a table instance with a list of dictionary, similar to how csv.DictReader and csv.DictWriter works but with a bit more functionality. This would be an easier of dynamically populating a table without knowing all the headers or all the row values as this function would have a default fillvalue which would be used to populate a dictionary with less headers. Defining header attributes and row attributes to specific rows or headers would also be possible.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I would like to propose a new method to be added to the Table class. I personally call it from_dict. The basic function of this method would be to populate a table instance with a list of dictionary, similar to how csv.DictReader and csv.DictWriter works but with a bit more functionality. This would be an easier of dynamically populating a table without knowing all the headers or all the row values as this function would have a default fillvalue which would be used to populate a dictionary with less headers. Defining header attributes and row attributes to specific rows or headers would also be possible.
Beta Was this translation helpful? Give feedback.
All reactions