Page 1 of 1

In the function clip_data, modify any negative values in data to be zero. Then return data. import numpy as np def clip_

Posted: Wed Apr 27, 2022 3:28 pm
by answerhappygod
In the function clip_data, modify any negative values
in data to be zero. Then return data.
import numpy as np
def clip_data(data):
# clip the data here
return data