text_plain_output_1.png
import pandas as pd

music_dataset = pd.read_csv('/kaggle/input/kaggledataupdated/KaggleData_updated.csv')

music_dataset.shape

music_update = music_dataset.set_index('id')

music_update['artists'] = music_update['artists'].str.strip("[]'")

music_update.isna().sum()

music_update.duplicated().sum()

music_update = music_update.drop_duplicates()

music_update.duplicated().value_counts()