scikit-learn文本处理时出现:fit_transform() missing 1 required positional argument: 'X'
Inscikit-learn,everythingwithafit_transformisaninstanceofsometype,whichistosaythatyou’llneedtoinitializethatinstancefirst,whereyouarecallingfit_transformasifitwereastaticmethod.So,eithercreatetheinsta