[Data Source: Kaggle]

Mount data from google drive to colab
 
https://stackoverflow.com/questions/48376580/google-colab-how-to-read-data-from-my-google-drive

data[‘location_description’].value_counts()[0:10]

Gulf of Aden 328 Malacca Straits 143 Indonesia 121 Singapore Straits 118 Chittagong Anchorage, Bangladesh 75 South China Sea 64 Lagos Anchorage, Nigeria 61 Chittagong, Bangladesh 60 Somalia 57 Belawan Anchorage, Indonesia 56

Index([‘date’, ‘time’, ‘longitude’, ‘latitude’, ‘attack_type’, ‘location_description’, ‘nearest_country’, ‘eez_country’, ‘shore_distance’, ‘shore_longitude’, ‘shore_latitude’, ‘attack_description’, ‘vessel_name’, ‘vessel_type’, ‘vessel_status’, ‘data_source’], dtype=‘object’)

Index([‘country’, ‘year’, ‘corruption_index’, ‘homicide_rate’, ‘GDP’, ‘total_fisheries_per_ton’, ‘total_military’, ‘population’, ‘unemployment_rate’, ‘totalgr’, ‘industryofgdp’], dtype=‘object’)

correlation

In statistics, anegative_correlation between two variables means that as one variable increases, the other variable decreases, and vice versa. A negative correlation is also known as an inverse correlation.

The strength of a negative correlation is measured by the correlation coefficient, which can range from -1 to 0. A correlation coefficient of -1 indicates a perfect negative correlation, while a coefficient of 0 indicates no correlation, and a coefficient of 1 indicates a perfect positive correlation.