VariantSubcloneTable.create_conditional_style#
missionbio.mosaic.workflows.variant_subclone_table.VariantSubcloneTable.create_conditional_style
- static VariantSubcloneTable.create_conditional_style(data: DataFrame, ids: Optional[Sequence] = None, pad: int = 25) List #
When the header is frozen, the width of the columns is determined only using the values in the cells. The header values are ignored. This function calculates the minimum width of each column for the given column header values. The width can be larger if the data is longer than the header.
- Parameters:
- datapd.DataFrame
The data of table that is to be displayed. The text representation of the values is used to determine the required width of the columns
- idsSequence
The id value in the DataTable for each column name in data. If None, then the column names of data are used as the ids.
- padint
The number of pixels to leave on the left and right side of the text
< Class VariantSubcloneTable