cf.open_group_array
cf.open_group_array(group, *, array=None, attr=None, **kwargs)
Opens an array in a group either by specifying the name of the array or the name of an attribute in the array.
If only providing the attribute, there must be exactly one array in the group with an attribute with the requested name.
Parameters
Name | Type | Description | Default |
---|---|---|---|
group |
tiledb.tiledb.Group | The tiledb group to open the array in. | required |
array |
typing.Optional[str] | If not None , the name of the array to open. Overrides attr if both are provided. |
None |
attr |
typing.Optional[str] | If not None , open the array that contains this attr. Attr must be in only one of the group arrays. |
None |
**kwargs |
Keyword arguments to pass to the tiledb.open method. |
{} |
Returns
Type | Description |
---|---|
tiledb.Array: | An array opened in the specified mode |