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/ford-car-price-prediction/ford.csv')

df.query("model == ' Mustang' and year == 2020")

sns.set_style('whitegrid')

serie_mean_model = df.groupby('model')['price'].mean().sort_values(ascending=True)

mean_mpg = df.groupby('fuelType')['mpg'].mean().sort_values(ascending=True)

fig = plt.subplots(1, 1, figsize=(20, 8))
_ = sns.heatmap(df.corr(), annot=True)