Closed marinang closed 4 years ago
I see. Not to derail your analysis too much, but you might want to consider installing awkward1 and doing
>>> import awkward1 as ak
>>> eff1 = ak.from_awkward0(eff)
>>> eff1.mean()
You can zero-copy convert back and forth between Awkward0 and Awkward1, and Awkward1 won't suffer from the sensitivity to NumPy that Awkward0 has (because these functions are directly implemented, not through NumPy).
See also ak.mean documentation; all of the functions have been documented.
Okay great I will do that thanks :)
Hello when I do
This was working before, I guess this is due to a change in NumPy. I can use
np.average
instead.