Installation 💻¶
timebasedcv is a published Python package on pypi, therefore it can be installed directly via pip, as well as from source using pip and git, or with a local clone:
Dependencies 👏¶
Info
The minimum Python version supported is 3.8.
-
Since v0.1.0, the only two dependencies are
numpy
andnarwhals>=1.0.0
.Narwhals allows to have a compatibility layer between polars, pandas and other dataframe libraries. Therefore, as long as narwhals supports such dataframe object, we will as well.
-
Since v0.2.0, in order to use
TimeBasedCVSplitter
,scikit-learn>=0.19
is required, nevertheless it is not a direct dependency of the package.