image_output_1.png
from sklearn.utils import shuffle

import pandas as pd

data_file = '../input/Amazon_Unlocked_Mobile.csv'
data = pd.read_csv(data_file)

data_df = pd.DataFrame(data)

data_df = shuffle(data_df)

data_df = data_df.dropna()

corr_matrix = data_df.corr()
corr_matrix['Rating'].sort_values(ascending=False)