image_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

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

mv.shape

mv.sample(3)

mv.dtypes

mv.isnull().sum()

mv['duration'] = mv['duration'].str.replace(' min', '')

mv.groupby('listed_in')['title'].count().sort_values(ascending=False).reset_index()[:5]

mv[mv['country'] == 'India'].listed_in.value_counts()