问题:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the `scipy.sparse.csr` namespace is deprecated.
也没有用csr,但总是提示不能用这个写法,实在找不到了
import warnings
warnings.filterwarnings("ignore",category=DeprecationWarning)
直接过滤掉,眼不见为净