text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

data = pd.read_csv('//kaggle//input//netflix-shows//netflix_titles.csv')
data

data.dtypes

data.isnull().sum()

data.dropna(inplace=True)

data.isnull().sum()

types = data['type'].value_counts()
types.to_frame()

x_values, y_values = (types.values, types.index)

director = data['director'].value_counts().head(10)
director.to_frame()

x_values = director.values
y_values = director.index

data.dtypes

release_year = data['release_year']
release_year.to_frame()

x_values = release_year.values
plt.figure(figsize=(10, 5))
sns.countplot(x=x_values)
plt.xlabel('year')
plt.xticks(rotation=90)