1.

Point out the wrong statement.(a) min, max, idxmin, idxmax operations are supported on Series(b) You cannot pass a timedelta to get a particular value(c) Division by the numpy scalar is true division(d) None of the mentionedI had been asked this question by my college professor while I was bunking the class.This key question is from Time Deltas topic in chapter Data Analysis with Python of Data Science

Answer»

Right choice is (b) You cannot pass a timedelta to get a particular value

The BEST EXPLANATION: Dividing or multiplying a timedelta64[ns] SERIES by an INTEGER or integer Series YIELDS another timedelta64[ns] dtypes Series.



Discussion

No Comment Found

Related InterviewSolutions