text_plain_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

import matplotlib.pyplot as plt
import seaborn as sns
data = pd.read_csv('/kaggle/input/usa-cers-dataset/USA_cars_datasets.csv', index_col=0)

data.isnull().sum()

plt.tight_layout()
plt.xticks(rotation=90)

plt.tight_layout()
plt.xticks(rotation=90)

plt.figure(figsize=(18, 8))
data.groupby('brand')['price'].mean().sort_values(ascending=False).plot.bar()
plt.xticks(rotation=90)
plt.ylabel('Mean Price')
plt.xlabel('Car Brands')
plt.tight_layout()
plt.show()