3.11.22.4.3. statsmodels.stats.weightstats.OneTimeProperty

class statsmodels.stats.weightstats.OneTimeProperty(func)[source]

A descriptor to make special properties that become normal attributes.

This is meant to be used mostly by the auto_attr decorator in this module. Author: Fernando Perez, copied from nitime

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.

__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.

3.11.22.4.3.1. Methods

__init__(func) Create a OneTimeProperty instance.