text_plain_output_1.png image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

df = pd.read_csv('/kaggle/input/car-price-prediction/CarPrice_Assignment.csv')

df.describe().T

outliers = ['price']
plt.rcParams['figure.figsize'] = [8, 8]
df.shape

df = df.drop(['car_ID'], axis=1)

cat_col = df.select_dtypes(include=['object']).columns
num_col = df.select_dtypes(exclude=['object']).columns

num_col