application_vnd.jupyter.stderr_output_1.png
import pandas as pd

spotify = pd.read_csv('C:\\Users\\KK\\Documents\\Kitu\\College\\Senior Year\\Extracurriculars\\Python\\Spotify\\.spyproject\\data.csv')

spotify.shape
spotify.dtypes

spotify.Region = spotify.Region.astype('category')
spotify.Date = pd.to_datetime(spotify['Date'])
spotify.dtypes

globe = spotify[spotify.Region == 'global']
usa = spotify[spotify.Region == 'us']
great_britain = spotify[spotify.Region == 'gb']
mexico = spotify[spotify.Region == 'mx']
taiwan = spotify[spotify.Region == 'tw']
singapore = spotify[spotify.Region == 'sg']