Open mk-mccann opened 2 years ago
After a bit of digging, this seems to be related to getting function argument names in Python 3 (in the bootstrap class - descriptive.py, line 18). The method func.__code__.co_varnames
is depreciated in Python 3.
I found a solution here using the inspect
library: inspect.getfullargspec(func).args
yields a list of input arguments.
When running the moment function, I get a
ValueError: Function moment does not have variable ci.
Giving a confidence interval doesn't change the output.The issue seems to be related to the bootstrapping wrapper; full error is below: