Tables¶
- class Tables(data=None, field=None)[source]¶
Tables component of geological model.
- apply(func, attr, *args, inplace=False, **kwargs)¶
Apply function to attributes.
- Parameters:
func (callable) – A function to apply. Must accept data as its first argument.
attr (str, array-like) – Attributes to get data from.
args (misc) – Any additional positional arguments to
func.kwargs (misc) – Any additional named arguments to
func.
- Returns:
output – Transformed component.
- Return type:
- data_dict()¶
Create dict from attributes.
- property empty¶
True if component is empty else False.
- items()¶
Returns pairs of attribute’s names and data.
- load(data, binary_data, logger)¶
Load data.