ansys.dyna.core.lib.table_card_group.TableCardGroup#

class ansys.dyna.core.lib.table_card_group.TableCardGroup(card_schemas: List[Tuple[ansys.dyna.core.lib.field_schema.FieldSchema, Ellipsis]], length_func: Callable, active_func: Callable = None, name: str = None, format: ansys.dyna.core.lib.format_type.format_type = format_type.default, card_active_funcs: List[Callable] = None, **kwargs)#

Bases: ansys.dyna.core.lib.card_interface.CardInterface

Abstract base class for all the implementations of keyword cards.

property format: ansys.dyna.core.lib.format_type.format_type#

Format type of the table card group.

property table: pandas.DataFrame#

Get the table as a pandas DataFrame.

read(buf: TextIO, parameter_set: ansys.dyna.core.lib.parameters.ParameterSet = None) None#

Read the table card group from a buffer.

write(format: ansys.dyna.core.lib.format_type.format_type | None = None, buf: TextIO | None = None, comment: bool | None = True, retain_parameters: bool = False, parameter_set: ansys.dyna.core.lib.parameters.ParameterSet = None, uri_prefix: str = None, **kwargs) str#

Write the table card group to a string or buffer.

property active: bool#

Indicates whether the card group is active.

property bounded: bool#

Indicates whether the card group is bounded.

__repr__() str#

Returns a console-friendly representation of the desired parameters for the card