ak.typetracer.typetracer_from_form#

Defined in awkward.typetracer on line 223.

ak.typetracer.typetracer_from_form(form, *, highlevel=True, behavior=None, attrs=None)#
Parameters:
  • form (ak.forms.Form or str/dict equivalent) – The form of the Awkward Array to build a typetracer-backed array from.

  • highlevel (bool) – If True, return an ak.Array; otherwise, return a low-level ak.contents.Content subclass.

  • behavior (None or dict) – Custom ak.behavior for the output array, if high-level.

  • attrs (None or dict) – Custom attributes for the output array, if high-level.

Returns a typetracer array built from a form.