(self, index: pd.DatetimeIndex)
| 64 | """Hour of day encoded as value between [-0.5, 0.5]""" |
| 65 | |
| 66 | def __call__(self, index: pd.DatetimeIndex) -> np.ndarray: |
| 67 | return index.dayofweek / 6.0 - 0.5 |
| 68 | |
| 69 | |
| 70 | class DayOfMonth(TimeFeature): |
nothing calls this directly
no outgoing calls
no test coverage detected