Seaborn Pairplot Method

Machine Learning courses with 100+ Real-time projects Start Now!!

Program 1

Seaborn Dataset

import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt

df_tips=pd.read_csv("D://scikit_data/Billing/tips.csv")
df_tips.head()

df_tips.info()

df_tips.isnull().sum()

df_tips.shape

sns.pairplot(df_tips,hue='sex',palette='Accent_r')

sns.pairplot(df_tips,hue='sex',kind='scatter')

sns.pairplot(df_tips,hue='sex',markers='*')

sns.pairplot(df_tips,hue='sex')

 

 

Your 15 seconds will encourage us to work even harder
Please share your happy experience on Google

courses

DataFlair Team

DataFlair Team provides high-impact content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. We make complex concepts easy to grasp, helping learners of all levels succeed in their tech careers.

Leave a Reply

Your email address will not be published. Required fields are marked *