time_weight = list(100*np.exp(np.linspace(-1/divisor, -(num_steps-1)/divisor, num_steps))).apply(lambda x:int(x))
当我尝试这样做时,我在 Python 3.7 中收到以下错误。
AttributeError:“列表”对象没有属性“应用”
有人能帮忙吗?
python numpy list attributeerror python-3.7
attributeerror ×1
list ×1
numpy ×1
python ×1
python-3.7 ×1