CBSE Class 12 Informatics Practices
Question 38 of 167
Python Pandas — I — Question 3
Back to all questionspd.Series(data = array, dtype = numpy.int16)
Reason — The syntax to specify data type for a Series object is : <Series Object> = pandas.Series(data = None, index = None, dtype = None). Therefore, according to this syntax, pd.Series(data = array, dtype = numpy.int16) is correct.