在Spyder的ipython console中使用concatenable报错怎末解决啊??
mport numpy as np
a = np.linspace(1,10,4)
b = np.linspace(1,10,4,endpoint = False)
c = np.concatenable((a,b))
Traceback (most recent call last):
File "C:\Users\89255\AppData\Local\Temp\ipykernel_2428\3184962504.py", line 1, in <module>
c = np.concatenable((a,b))
File "D:\Anaconda\Anaconda\lib\site-packages\numpy\__init__.py", line 313, in __getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'concatenable'
运行结果及报错内容
未找到解决办法
讲a,b两个数组合体