Explore topic-wise MCQs in Data Science.

This section includes 16 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.

cov and corr supports the optional min_periods keyword.

A. True
B. False
Answer» B. False
2.

Which of the following can potentially change the dtype of a series?

A. reindex_like
B. index_like
C. itime_like
D. none of the mentioned
Answer» B. index_like
3.

Which of the following method produces a data ranking with ties being assigned the mean of the ranks for the group?

A. rank
B. dense_rank
C. partition_rank
D. none of the mentioned
Answer» B. dense_rank
4.

rolling_count function gives the number of non-null observations.

A. True
B. False
Answer» C.
5.

Which of the following is implemented on DataFrame to compute the correlation between like-labeled Series contained in different DataFrame objects?

A. corrwith
B. corwith
C. corwit
D. none of the mentioned
Answer» B. corwith
6.

Which of the following specifies the required minimum number of observations for each column pair in order to have a valid result?

A. min_periods
B. max_periods
C. minimum_periods
D. all of the mentioned
Answer» B. max_periods
7.

Which of the following object has a method cov to compute covariance between series?

A. Series
B. DataFrame
C. Panel
D. None of the mentioned
Answer» B. DataFrame
8.

Which of the following is used to compute the percent change over a given number of periods?

A. pct_change
B. percent_change
C. per_change
D. none of the mentioned
Answer» B. percent_change
9.

WHICH_OF_THE_FOLLOWING_CAN_POTENTIALLY_CHANGE_THE_DTYPE_OF_A_SERIES_??$

A. reindex_like
B. index_like
C. itime_like
D. none of the Mentioned
Answer» B. index_like
10.

cov_and_corr_supports_the_optional_min_periods_keyword.$

A. True
B. False
Answer» B. False
11.

Which of the following method produces a data ranking with ties being assigned the mean of the ranks for the group ?

A. rank
B. dense_rank
C. partition_rank
D. none of the Mentioned
Answer» B. dense_rank
12.

rolling_count function gives number of non-null observations.

A. True
B. False
Answer» C.
13.

Which of the following is implemented on DataFrame to compute the correlation between like-labeled Series contained in different DataFrame objects ?

A. corrwith
B. corwith
C. corwit
D. none of the Mentioned
Answer» B. corwith
14.

Which of the following specifies the required minimum number of observations for each column pair in order to have a valid result ?

A. min_periods
B. max_periods
C. minimum_periods
D. all of the Mentioned
Answer» B. max_periods
15.

Which of the following object has a method cov to compute covariance between series ?

A. Series
B. DataFrame
C. Panel
D. None of the Mentioned
Answer» B. DataFrame
16.

Which of the following is used to compute the percent change over a given number of periods ?

A. pct_change
B. percent_change
C. per_change
D. none of the Mentioned
Answer» B. percent_change