uproot.interpretation.objects.awkward_can_optimize — Uproot documentation

# uproot.interpretation.objects.awkward_can_optimize

Defined in uproot.interpretation.objects on line 28.

uproot.interpretation.objects.awkward_can_optimize(interpretation, form)

  If True, the Awkward Array library can convert data of a given uproot.interpretation.Interpretation and `ak.forms.Form` into arrays without resorting to `ak.from_iter` (i.e. rapidly).

  If `awkward._connect._uproot` cannot be imported, this function always returns False.