Skip to content

Create new table with pre-seeded column / row names #7

@psychemedia

Description

@psychemedia

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions