image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

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

data.isnull().sum()

df_v = pd.DataFrame(data['symboling'].value_counts()).reset_index().rename(columns={'index': 'symboling', 'symboling': 'count'})

sns.set_palette('bright')

fuel = data['fueltype'].value_counts()
labels = fuel.index
sizes = fuel.values
plt.figure(figsize=(12, 9))
colors = sns.color_palette('Paired')
plt.pie(sizes, labels=labels, autopct='%1.1f%%', shadow=True, colors=colors, startangle=90)
plt.show()