fetch_nox#

skfda.datasets.fetch_nox(*, return_X_y: Literal[False] = False, as_frame: bool = False) → Bunch[source]#
skfda.datasets.fetch_nox(*, return_X_y: Literal[True], as_frame: Literal[False] = False) → Tuple[FDataGrid, ndarray[tuple[Any, ...], dtype[integer[Any]]]]
skfda.datasets.fetch_nox(*, return_X_y: Literal[True], as_frame: Literal[True]) → Tuple[DataFrame, DataFrame]

Load the NOx dataset.

The data is obtained from the R package ‘fda.usc’.

NOx levels measured every hour by a control station in Poblenou in Barcelona (Spain) [1].

References

Parameters:
  • return_X_y (bool) – Return only the data and target as a tuple.

  • as_frame (bool) – Return the data in a Pandas Dataframe or Series.

Return type:

Bunch | Tuple[FDataGrid, ndarray[tuple[Any, …], dtype[integer[Any]]]] | Tuple[DataFrame, DataFrame]