数据分析之scipy常用方法(五) (3)

散步矩阵图

import numpy as np import pandas as pd from pandas import Series,DataFrame %matplotlib inline df = DataFrame(np.random.randn(200).reshape(50,4),columns = ['A','B','C','D']) pd.plotting.scatter_matrix(df,diagonal = 'kde',color = 'k')

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zygypj.html