其他分享
首页 > 其他分享> > module 'pandas' has no attribute 'scatter_matrix'

module 'pandas' has no attribute 'scatter_matrix'

作者:互联网

这样可以解决
import pandas as pd pd.plotting.scatter_matrix(iris_df, alpha=0.2, figsize=(10, 10))

这样不行
from pandas.plotting import scatter_matrix

scatter_matrix(iris_df, alpha=0.2, figsize=(10, 10))
 

标签:10,matrix,no,df,attribute,plotting,pandas,scatter
来源: https://www.cnblogs.com/jianchiai/p/11372432.html