Open In App

Data-Analysis-fork-ds | Question 11

Last Updated : 01 May, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Q11. What type of error is returned by following statement?

import pandas as pnd

pnd.Series([1,2,3,4], index = [‘a’,’b’,’c’])

 

(A)

SyntaxError

(B)

IndexError

(C)

ValueError

(D)

None of the above


Answer: (C)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads