ak._v2.contents.content.Content

Defined in awkward._v2.contents.content on line 17.

class ak._v2.contents.content.Content((self))

ak._v2.contents.content.Content._init

ak._v2.contents.content.Content._init(self, identifier, parameters)

ak._v2.contents.content.Content.identifier

ak._v2.contents.content.Content.identifier

ak._v2.contents.content.Content.parameters

ak._v2.contents.content.Content.parameters

ak._v2.contents.content.Content.parameter

ak._v2.contents.content.Content.parameter(self, key)

ak._v2.contents.content.Content._repr_extra

ak._v2.contents.content.Content._repr_extra(self, indent)

ak._v2.contents.content.Content._simplify_optiontype

ak._v2.contents.content.Content._simplify_optiontype(self)

ak._v2.contents.content.Content._simplify_uniontype

ak._v2.contents.content.Content._simplify_uniontype(self)

ak._v2.contents.content.Content.maybe_to_nplike

ak._v2.contents.content.Content.maybe_to_nplike(self, nplike)

ak._v2.contents.content.Content._handle_error

ak._v2.contents.content.Content._handle_error(self, error, slicer=None)

ak._v2.contents.content.Content._getitem_next_field

ak._v2.contents.content.Content._getitem_next_field(self, head, tail, advanced)

ak._v2.contents.content.Content._getitem_next_fields

ak._v2.contents.content.Content._getitem_next_fields(self, head, tail, advanced)

ak._v2.contents.content.Content._getitem_next_newaxis

ak._v2.contents.content.Content._getitem_next_newaxis(self, tail, advanced)

ak._v2.contents.content.Content._getitem_next_ellipsis

ak._v2.contents.content.Content._getitem_next_ellipsis(self, tail, advanced)

ak._v2.contents.content.Content._getitem_next_regular_missing

ak._v2.contents.content.Content._getitem_next_regular_missing(self, head, tail, advanced, raw, length)

ak._v2.contents.content.Content._getitem_next_missing_jagged

ak._v2.contents.content.Content._getitem_next_missing_jagged(self, head, tail, advanced, that)

ak._v2.contents.content.Content._getitem_next_missing

ak._v2.contents.content.Content._getitem_next_missing(self, head, tail, advanced)

ak._v2.contents.content.Content.__getitem__

ak._v2.contents.content.Content.__getitem__(self, where)

ak._v2.contents.content.Content._carry_asrange

ak._v2.contents.content.Content._carry_asrange(self, carry)

ak._v2.contents.content.Content._range_identifier

ak._v2.contents.content.Content._range_identifier(self, start, stop)

ak._v2.contents.content.Content._field_identifier

ak._v2.contents.content.Content._field_identifier(self, field)

ak._v2.contents.content.Content._fields_identifier

ak._v2.contents.content.Content._fields_identifier(self, fields)

ak._v2.contents.content.Content._carry_identifier

ak._v2.contents.content.Content._carry_identifier(self, carry, exception)

ak._v2.contents.content.Content._axis_wrap_if_negative

ak._v2.contents.content.Content._axis_wrap_if_negative(self, axis)

ak._v2.contents.content.Content._localindex_axis0

ak._v2.contents.content.Content._localindex_axis0(self)

ak._v2.contents.content.Content.localindex

ak._v2.contents.content.Content.localindex(self, axis)

ak._v2.contents.content.Content.sort

ak._v2.contents.content.Content.sort(self, axis=- 1, ascending=True, stable=False, kind=None, order=None)
Parameters
  • axis (int) – this argument defines an axis along which to sort. The default is -1, which sorts along the innermost axis. Axes are defined similar to Numpy axes. axis=0 is the “first” axis and axis=-1 is the “last” axis. Unlike other operations, sorting does not support axis=None.

  • ascending (bool) – if True, the elements are sorted in ascending order.

  • stable (bool) – if True, the order of equivalent elements is guaranteed to be preserved.

  • kind ({‘quicksort’, ‘mergesort’, ‘heapsort’, ‘stable’}, optional) – an optional sorting algorithm. This is similar to NumPy sort.

  • order (str or list of str, optional) – similar to NumPy.

Puts Content elements in an ordered sequence: numeric or lexicographical, ascending or descending.

The gaps and None values are not sorted, and if a None value occurs at a higher axis than the one being sorted, it is kept as a placeholder so that the outer list length does not change.

This function is similar to NumPy sort.

ak._v2.contents.content.Content._combinations_axis0

ak._v2.contents.content.Content._combinations_axis0(self, n, replacement, recordlookup, parameters)

ak._v2.contents.content.Content.combinations

ak._v2.contents.content.Content.combinations(self, n, replacement=False, axis=1, keys=None, parameters=None)

ak._v2.contents.content.Content.purelist_isregular

ak._v2.contents.content.Content.purelist_isregular

ak._v2.contents.content.Content.purelist_depth

ak._v2.contents.content.Content.purelist_depth

ak._v2.contents.content.Content.minmax_depth

ak._v2.contents.content.Content.minmax_depth

ak._v2.contents.content.Content.branch_depth

ak._v2.contents.content.Content.branch_depth

ak._v2.contents.content.Content.keys

ak._v2.contents.content.Content.keys