Explore topic-wise MCQs in Data Science.

This section includes 8 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