-
(a)Using your reg. no. and matric number, create a list with repeated elements of your reg and matric number 8 times. [1 mark]
(b)Add your email to the list created in 1a. [1 mark]
(c)Include the following courses, LMU-CSC315 and SEN301, in question 1a so it can be added at the end of the list in 1a. [1 mark]
(d)Add the word "grade" at the beginning of the list in 1a. [1 mark]
(e)Convert the list created in question 1a into a pandas dataframe. [1 mark]
-
(a)Explain 2 importance of data analysis. [2.5 marks]
(b)Differentiate between Data Science and Machine Learning. [2.5 marks]
- (a)Using a Python inner list and the pandas library, create an inner list that stores the names, ages, and professions of the three people as follows: [2.5 marks]
John, 25, Engineer
Alice, 30, Doctor
Bob, 35, Teacher
(b)Convert the stored data into a dataframe with the column headings Name, Age, and Profession. [2.5 marks]
