code: def load_lynx():
      """Load the lynx univariate time series dataset for forecasting.
  
      Returns
      -------
      y : pd.Series/DataFrame
          Lynx sales dataset
  
      Examples
      --------
      >>> from sktime.datasets import load_lynx
      >>> y = load_lynx()
  
      Notes
      -----
      The annual numbers of lynx trappings for 1821–1934 in Canada. This
      time-series records the number of skins of
      predators (lynx) that were collected over several years by the Hudson's
      Bay Company. The dataset was
      taken from Brockwell & Davis (1991) and appears to be the series
      considered by Campbell & Walker (1977).
  
      Dimensionality:     univariate
      Series length:      114
      Frequency:          Yearly
      Number of cases:    1
  
      This data shows aperiodic, cyclical patterns, as opposed to periodic,
      seasonal patterns.
  
      References
      ----------
      .. [1] Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988). The New S
      Language. Wadsworth & Brooks/Cole.
  
      .. [2] Campbell, M. J. and Walker, A. M. (1977). A Survey of statistical
      work on the Mackenzie River series of
      annual Canadian lynx trappings for the years 1821–1934 and a new
      analysis. Journal of the Royal Statistical Society
      series A, 140, 411–431.
      """
      name = "Lynx"
      fname = name + ".csv"
      path = os.path.join(MODULE, DIRNAME, name, fname)
      y = pd.read_csv(path, index_col=0, dtype={1: float}).squeeze(
          "columns"
      )
      y.index = pd.PeriodIndex(y.index, freq="Y", name="Period")
      y.name = "Number of Lynx trappings"
      return y
  
imports: import os
  import zipfile
  from urllib.error import HTTPError, URLError
  from warnings import warn
  import numpy
  import pandas
  from sktime.datasets._data_io import _download_and_extract, _list_available_datasets, _load_dataset, _load_provided_dataset
  from sktime.datasets._readers_writers.tsf import load_tsf_to_dataframe
  from sktime.datasets.tsf_dataset_names import tsf_all, tsf_all_datasets
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 14 for calling a global function with example usage: load_lynx() and returns: y