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)
plt.figure(figsize=(7, 5))
sns.barplot(data=types, x=x_values, y=y_values)
plt.xlabel('TV Show                                                 Movies')