image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

df = pd.read_csv('/kaggle/input/ai-ml-data-salaries/salaries.csv')

df.sample(3)

df.isnull().sum()

work_year_values = df['work_year'].value_counts()

exp_level_values = df['experience_level'].value_counts()

empl_type_values = df['employment_type'].value_counts()

most_frequent_titles = df['job_title'].value_counts().sort_values(ascending=False)
plt.xticks(rotation=45)

salary_curr_values = df['salary_currency'].value_counts()

most_frequent_residences = df['employee_residence'].value_counts().sort_values(ascending=False)
most_frequent_residences[:10].plot(kind='bar')
plt.xticks(rotation=45)
plt.ylabel('Count')
plt.xlabel('Employee residence')
plt.title('Most frequent employees residences')
plt.show()