Skip to content

Commit af3f535

Browse files
committed
refactor(steps): rename class to ExpandTimestamp
1 parent 0bc1990 commit af3f535

File tree

6 files changed

+136
-136
lines changed

6 files changed

+136
-136
lines changed

docs/_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@ quartodoc:
214214
name: Temporal feature extraction
215215
desc: Feature extraction for temporal columns
216216
contents:
217-
- ExpandDateTime
218217
- ExpandDate
219218
- ExpandTime
219+
- ExpandTimestamp
220220

221221
- kind: page
222222
path: steps-other

docs/reference/support-matrix/step_config.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,30 @@ ExpandDate:
9090
components:
9191
- doy
9292

93-
ExpandDateTime:
93+
ExpandTime:
94+
configurations:
95+
- name: h
96+
config:
97+
inputs: time
98+
components:
99+
- hour
100+
- name: m
101+
config:
102+
inputs: time
103+
components:
104+
- minute
105+
- name: s
106+
config:
107+
inputs: time
108+
components:
109+
- second
110+
- name: ms
111+
config:
112+
inputs: time
113+
components:
114+
- millisecond
115+
116+
ExpandTimestamp:
94117
configurations:
95118
- name: ms
96119
config:
@@ -137,26 +160,3 @@ ExpandDateTime:
137160
inputs: timestamp
138161
components:
139162
- doy
140-
141-
ExpandTime:
142-
configurations:
143-
- name: h
144-
config:
145-
inputs: time
146-
components:
147-
- hour
148-
- name: m
149-
config:
150-
inputs: time
151-
components:
152-
- minute
153-
- name: s
154-
config:
155-
inputs: time
156-
components:
157-
- second
158-
- name: ms
159-
config:
160-
inputs: time
161-
components:
162-
- millisecond

ibis_ml/steps/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from ibis_ml.steps._impute import FillNA, ImputeMean, ImputeMedian, ImputeMode
77
from ibis_ml.steps._select_features import DropZeroVariance
88
from ibis_ml.steps._standardize import ScaleMinMax, ScaleStandard
9-
from ibis_ml.steps._temporal import ExpandDate, ExpandDateTime, ExpandTime
9+
from ibis_ml.steps._temporal import ExpandDate, ExpandTime, ExpandTimestamp
1010

1111
__all__ = (
1212
"Cast",
@@ -16,8 +16,8 @@
1616
"Drop",
1717
"DropZeroVariance",
1818
"ExpandDate",
19-
"ExpandDateTime",
2019
"ExpandTime",
20+
"ExpandTimestamp",
2121
"FillNA",
2222
"HandleUnivariateOutliers",
2323
"ImputeMean",

0 commit comments

Comments
 (0)