1.

Point out the correct statement.(a) If data is a list, if index is passed the values in data corresponding to the labels in the index will be pulled out(b) NaN is the standard missing data marker used in pandas(c) Series acts very similarly to a array(d) None of the mentionedI have been asked this question in class test.My question comes from Pandas Data Structure topic in chapter Data Analysis with Python of Data Science

Answer»

The CORRECT option is (B) NaN is the standard missing data marker used in pandas

To EXPLAIN I would say: If data is a dict, if index is passed the values in data CORRESPONDING to the labels in the index will be pulled out.



Discussion

No Comment Found

Related InterviewSolutions