Skip to content

Commit

Permalink
deprecate DateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyBagnall committed Jun 6, 2024
1 parent 0802f82 commit 98b29e6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions aeon/transformations/date.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import numpy as np
import pandas as pd
from deprecated.sphinx import deprecated

from aeon.transformations.base import BaseTransformer

Expand All @@ -31,6 +32,13 @@
]


# TODO: remove in v0.11.0
@deprecated(
version="0.10.0",
reason="DateTimeFeatures will be removed in version "
"0.11.0. Please use the BaseSeriesTransformer version instead.",
category=FutureWarning,
)
class DateTimeFeatures(BaseTransformer):
"""DateTime feature extraction for use in e.g. tree based models.
Expand Down

0 comments on commit 98b29e6

Please sign in to comment.