a) Trueb) False Answer: aExplanation: Categoricals are pandas data type.
View QuestionWhich of the following method can be used to rename categorical data?
a) Categorical.rename_categories()b) Categorical.rename()c) Categorical.mv_categories()d) None of the mentioned Answer: aExplanation: Renaming categories is done by ...
View QuestionUsing _________ on categorical data will produce similar output to a Series or DataFrame of type string.
a) .desc()b) .describe()c) .rank()d) none of the mentioned Answer: bExplanation: Categorical data has a categories ...
View QuestionCombination of TimedeltaIndex with DatetimeIndex allow certain combination operations that are NaT preserving.
a) Trueb) False Answer: aExplanation: You can also convert indices to yield another index.
View QuestionWhich of the following is used to generate an index with time delta?
a) TimeIndexb) TimedeltaIndexc) LeadIndexd) None of the mentioned Answer: bExplanation: Using TimedeltaIndex you can pass ...
View QuestionPoint out the wrong statement.
a) min, max, idxmin, idxmax operations are supported on Seriesb) You cannot pass a timedelta to get a ...
View QuestionWhich of the following scalars can be converted to other ‘frequencies’ by as typing to a specific timedelta type?
a) Timedelta Seriesb) TimedeltaIndexc) Timedeltad) all of the mentioned Answer: dExplanation: These operations yield Series ...
View QuestionNumeric reduction operation for timedelta64[ns] will return _________ objects.
a) Timeseriesb) Timeplusc) Timedeltad) None of the mentioned Answer: cExplanation: NaT are skipped during evaluation.
View QuestionPoint out the correct statement.
a) Timedeltas are differences in times, expressed in difference unitsb) You can construct a Timedelta scalar through various ...
View QuestionWhich of the following operations are supported on Time Frames?
a) idxmaxb) ixmaxc) ixmind) none of the mentioned Answer: aExplanation: Operands can also appear in ...
View Question