Closed nocotan closed 3 years ago
Implement the common function _shift as follows:
_shift
def _shift(self, arr, num, fill_value=np.nan): arr = np.roll(arr, num) if num < 0: arr[num:] = fill_value elif num > 0: arr[:num] = fill_value return arr
Describe the definition by which this issue will be closed.
InterfaceTimeSeriesMetrics._shift()
yyyy / mm / dd
If the parent issue exists, post a link here.
If there are any reference links, they are described here.
Other comments.
Summary
Implement the common function
_shift
as follows:Goal
Describe the definition by which this issue will be closed.
Todo
InterfaceTimeSeriesMetrics._shift()
Deadline
yyyy / mm / dd
Parent issue
If the parent issue exists, post a link here.
References
If there are any reference links, they are described here.
Notes
Other comments.