ArmRoundMan

博客园 首页 新随笔 联系 订阅 管理
Load Required Modules

import seaborn as sns
import pandas as pd
from Pandas备忘录(持续更新) import training_df

 One way to visualize relationships between features in a dataset is with a pair plot. A pair plot generates a grid of pairwise plots to visualize the relationship of each feature with all other features all in one place.

 

View Pairplots
 sns.pairplot(training_df, x_vars=["FARE", "TRIP_MILES", "TRIP_SECONDS"], y_vars=["FARE", "TRIP_MILES", "TRIP_SECONDS"])

<seaborn.axisgrid.PairGrid at 0x7ad09ea619f0>

 

Pairplots figure

 

 

posted on 2024-09-09 18:02  后生那各膊客圆了  阅读(13)  评论(0)    收藏  举报