[시각화] 리스트 두개로 pairplot()
#산의 높이와 온도의 상관관계 분석
import pandas as pd
import seaborn as sns
height = [100,200,300,400,500,600,700,800,900]
temperature = [18.0, 17.5, 17, 16.5, 15, 14.5, 13, 12, 11]
plt.scatter(height, temperature)
plt.show()
**zip_list = list(zip(height, temperature))
df = pd.DataFrame(zip_list, columns = ['height','temperature'])**
sns.pairplot(data=df, kind='reg')
plt.show()