Skip to content

Commit

Permalink
refactor(steps): rename class to ExpandTimestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
deepyaman committed Sep 16, 2024
1 parent 0bc1990 commit af3f535
Show file tree
Hide file tree
Showing 6 changed files with 136 additions and 136 deletions.
2 changes: 1 addition & 1 deletion docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ quartodoc:
name: Temporal feature extraction
desc: Feature extraction for temporal columns
contents:
- ExpandDateTime
- ExpandDate
- ExpandTime
- ExpandTimestamp

- kind: page
path: steps-other
Expand Down
48 changes: 24 additions & 24 deletions docs/reference/support-matrix/step_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,30 @@ ExpandDate:
components:
- doy

ExpandDateTime:
ExpandTime:
configurations:
- name: h
config:
inputs: time
components:
- hour
- name: m
config:
inputs: time
components:
- minute
- name: s
config:
inputs: time
components:
- second
- name: ms
config:
inputs: time
components:
- millisecond

ExpandTimestamp:
configurations:
- name: ms
config:
Expand Down Expand Up @@ -137,26 +160,3 @@ ExpandDateTime:
inputs: timestamp
components:
- doy

ExpandTime:
configurations:
- name: h
config:
inputs: time
components:
- hour
- name: m
config:
inputs: time
components:
- minute
- name: s
config:
inputs: time
components:
- second
- name: ms
config:
inputs: time
components:
- millisecond
4 changes: 2 additions & 2 deletions ibis_ml/steps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from ibis_ml.steps._impute import FillNA, ImputeMean, ImputeMedian, ImputeMode
from ibis_ml.steps._select_features import DropZeroVariance
from ibis_ml.steps._standardize import ScaleMinMax, ScaleStandard
from ibis_ml.steps._temporal import ExpandDate, ExpandDateTime, ExpandTime
from ibis_ml.steps._temporal import ExpandDate, ExpandTime, ExpandTimestamp

__all__ = (
"Cast",
Expand All @@ -16,8 +16,8 @@
"Drop",
"DropZeroVariance",
"ExpandDate",
"ExpandDateTime",
"ExpandTime",
"ExpandTimestamp",
"FillNA",
"HandleUnivariateOutliers",
"ImputeMean",
Expand Down
Loading

0 comments on commit af3f535

Please sign in to comment.