AML-2103 Visualization forAI and MLFinal(20% of Final grade)Please follow Exam Instruction : This Exam includes 22 multiple choice questions, and 3 short answer questions. Read all questions carefully. Just pencil is acceptable for Scantron sheet. Write your name and student ID in front page correctly. Time allowed: 90 minD ATE :...S TUDENT N AME : ...S TUDENT N UMBER : ...2021 LAMBTON COLLEGE IN TORONTOSection 1: Multiple Choice Question Mark: 601.What will be output for the following code?import pandas as pds = pd.Series([1,2,3,4,5],index = ['a','b','c','d','e'])print s['a']A. 1B. 2C. 3D. 4Ans : A2.What will be syntax for pandas dataframe?A. pandas.DataFrame( data, index, dtype, copy)B. pandas.DataFrame( data, index, rows, dtype, copy)C. pandas_DataFrame( data, index, columns, dtype, copy)D. pandas.DataFrame( data, index, columns, dtype, copy)Ans : DExplanation: A pandas DataFrame can be created using the following constructor : pandas.DataFrame( data, index, columns, dtype, copy)3.Axis 1, in panel represent?A. minor_axisB. major_axisC. itemsD. None of the aboveView AnswerAns : BExplanation: major_axis : axis 1, it is the index (rows) of each of the DataFrames.4.Which of the following thing can be data in Pandas?A. a python dictB. an ndarrayC. a scalar valueD. All of the aboveAns : DExplanation: The passed index is a list of axis labels.22021