<ipython-input-37-8383c0bd5d41> in tokenize_and_transform(X, sample_size)
5 print(len(met.fit_transform(tok_es1)))
6 print(len(met.fit_transform(tok_es1)[0]))
----> 7 X_transform = np.append(met.fit_transform(tok_es1), axis=1)
8 return X_transform
met.fit_transform(tok_es1)
是大小为160000 * 300
的二维数组
TypeError: append() missing 1 required positional argument: 'values'
为什么会出现此错误?
而且我不太了解axis =1