text_html_output_1.png
import pandas as pd

crimes = pd.read_csv('../input/crime-in-los-angeles-data-from-2020-to-present/Crime_Data_from_2020_to_Present.csv')
crimes

crimes.drop(['DR_NO', 'Date Rptd', 'Rpt Dist No', 'Part 1-2', 'Mocodes', 'Crm Cd 1', 'Crm Cd 2', 'Crm Cd 3', 'Crm Cd 4', 'Cross Street', 'LOCATION'], axis=1, inplace=True)
crimes

crimes.isnull().sum()

crimes.dropna(axis=0, inplace=True)
crimes.reset_index(drop=True, inplace=True)
crimes