

MCQOPTIONS
Saved Bookmarks
This section includes 15 Mcqs, each offering curated multiple-choice questions to sharpen your Data Science knowledge and support exam preparation. Choose a topic below to get started.
1. |
All values of categorical data are either in categories or np.nan. |
A. | True |
B. | False |
Answer» B. False | |
2. |
Which 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» B. Categorical.rename() | |
3. |
Using _________ 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» C. .rank() | |
4. |
Which of the following is used to generate an index with time delta? |
A. | TimeIndex |
B. | TimedeltaIndex |
C. | LeadIndex |
D. | None of the mentioned |
Answer» C. LeadIndex | |
5. |
Which of the following scalars can be converted to other ‘frequencies’ by as typing to a specific timedelta type? |
A. | Timedelta Series |
B. | TimedeltaIndex |
C. | Timedelta |
D. | All of the mentioned |
Answer» E. | |
6. |
Numeric reduction operation for timedelta64[ns] will return _________ objects. |
A. | Timeseries |
B. | Timeplus |
C. | Timedelta |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
7. |
Which of the following operations are supported on Time Frames? |
A. | idxmax |
B. | ixmax |
C. | ixmin |
D. | none of the mentioned |
Answer» B. ixmax | |
8. |
WHICH_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» B. Categorical.rename() | |
9. |
All values of categorical data are either in categories or np.nan.$ |
A. | True |
B. | False |
Answer» B. False | |
10. |
Using _________ 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» C. .rank() | |
11. |
Combination of TimedeltaIndex with DatetimeIndex allow certain combination operations that are NaT preserving. |
A. | True |
B. | False |
Answer» B. False | |
12. |
Which of the following is used to generate an index with time delta ? |
A. | TimeIndex |
B. | TimedeltaIndex |
C. | LeadIndex |
D. | None of the Mentioned |
Answer» C. LeadIndex | |
13. |
Which of the following scalars can be converted to other ‘frequencies’ by astyping to a specific timedelta type?$ |
A. | Timedelta Series |
B. | TimedeltaIndex |
C. | Timedelta |
D. | All of the Mentioned |
Answer» E. | |
14. |
Numeric reduction operation for timedelta64[ns] will return _________ objects. |
A. | Timeseries |
B. | Timeplus |
C. | Timedelta |
D. | None of the Mentioned |
Answer» D. None of the Mentioned | |
15. |
Which of the following operations are supported on Time Frames ? |
A. | idxmax |
B. | ixmax |
C. | ixmin |
D. | none of the Mentioned |
Answer» B. ixmax | |