-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi
Useful package, thanks for sharing.
This suggestion partially related to the ability to create a table from a pandas dataframe: create a table pre-seeded with column names, or row names, in a list.
For example:
input_table.create_input_table(colnames=["col1", "col2"])
The initial height / width of the table could be pre-seeded from such arguments.
Table sizing could also be pre-seeded by eg input_table.create_input_table(cols=3)
Slightly more polished might be eg a single cols parameter that identifies an integer or a list and behaves accordingly.
Keeping them separate might allow you to pass in a list of colnames fewer than the number of cols, eg to allow students edit the table to add additional column names into pre-made slots for them (rather than having to add columns, for example).