environmentaltools.common.nonstationary_epdf
- environmentaltools.common.nonstationary_epdf(data: DataFrame, variable: str, wlen: float = 0.038329911019849415, no_values: int = 14)[source]
Computes the empirical PDF using a moving window.
- Parameters:
data (pd.DataFrame) – Time series.
variable (str) – Name of the variable.
wlen (float) – Length of window in years (default 14 days).
no_values (int) – Number of values for the PDF.
- Returns:
Values of the non-stationary PDF.
- Return type:
pd.DataFrame