This demo program shows how to plot Scatterplot Matrix or Pairplot.
Data Used:
The Output:
The Code:
1 2 3 4 5 6 7 8 9 | import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns df = pd.read_csv('scatterplot1.csv') sns.pairplot(df, hue='ee') plt.show() |
No comments:
Post a Comment