1- Which of the following function is used to create DataFrame?
A) DataFrame( ) B) NewFrame( ) C) CreateDataFrame( ) D) None of the Above
Answer A) DataFrame( )
2- In the following statement, if column ‘Rollno’ already exists in the DataFrame ‘D1’ then the
assignment statement will ___D1['Rollno'] = [1,2,3] #There are only three rows in DataFrame D1
A) Return error B) Replace the already existing values. C) Add new column D) None of the above
Answer B) Replace the already existing values
3- Which of the following statements is false?
A) Dataframe is size mutable B) Dataframe is value mutable
C) Dataframe is immutable D) Dataframe is capable of holding multiple type of data
Answer C) Dataframe is immutable
4- We can create DataFrame from _____
A) Numpy arrays B) List of Dictionaries C) Dictionary of Lists D) All of the above
Answer D) All of the above
5- In DataFrame, by default new column added as the _____________ column
A) First (Left Side) B) Second C) Last (Right Side) D) Any where in dataframe
Answer C) Last (Right Side)
6- Which of the following library is similar to Pandas ?
A. NumPyB. B) RPyC. C) OutPyD. D) None of the Mentioned
Answer: Option A
7- ________ graph displays information as a series of data points connected by straight line segments.
A) Bar D) Scatter C) Histogram D) Line
Answer : D