Write Python code to calculate the average number of spam ke…
Write Python code to calculate the average number of spam keywords and the average number of links and attachments for the emails in this data set. Show both your Python code and what the expected output would be, i.e. the averages for the two features of this data set. Data Point Number of Spam Keywords Number of Links and Attachments Email 1 0 1 Email 2 5 4 Email 3 2 1