3.11.22.4.3.1.1. statsmodels.stats.weightstats.OneTimeProperty.__init__

OneTimeProperty.__init__(func)[source]

Create a OneTimeProperty instance.

Parameters:

func : method

The method that will be called the first time to compute a value. Afterwards, the method’s name will be a standard attribute holding the value of this computation.