ak.record.Record#

Defined in awkward.record on line 26.

class ak.record.Record(array, at)#

Represents a single value from a ak.contents.RecordArray.

As this is a columnar representation, the Record contains a ak.layout.RecordArray, rather than the other way around. Its two fields are

  • array: the ak.layout.RecordArray and

  • at: the index posiion where this Record is found.

The Record shares a reference with its ak.layout.RecordArray; it is not a copy.

property array#
property backend#
property at#
property fields#
property is_tuple#
to_tuple() awkward._typing.Self#
property contents#
content(index_or_field)#
_repr(indent, pre, post)#
validity_error(path='layout.array')#
property parameters#
parameter(key)#
purelist_parameter(key) awkward._typing.JSONSerializable#
purelist_parameters(*keys)#
property purelist_isregular#
property purelist_depth#
property minmax_depth#
property branch_depth#
_touch_data(recursive)#
_touch_shape(recursive)#
_getitem(where)#
_getitem_field(where, only_fields: tuple[str, Ellipsis] = ()) awkward.contents.content.Content#
_getitem_fields(where, only_fields: tuple[str, Ellipsis] = ())#
to_packed(recursive: bool = True) awkward._typing.Self#
to_list(behavior=None)#
_to_list(behavior, json_conversions)#
to_backend(backend: awkward._backends.backend.Backend | str | None = None) awkward._typing.Self#
materialize() awkward._typing.Self#
property is_all_materialized: bool#
property is_any_materialized: bool#
copy(array=UNSET, at=UNSET) awkward._typing.Self#