Data Analysis with Python MCQ part-3

Que.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
Que.Point out the correct statement.
a. Pandas represents timestamps in microsecond resolution
b. Pandas is 100% thread safe
c. For Series and DataFrame objects, var normalizes by N-1 to produce unbiased estimates
d. All of the mentioned
Que.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
Que.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
Que.Point out the wrong statement.
a. lxml is very fast
b. lxml requires Cython to install correctly
c. lxml does not make any guarantees about the results of it’s parse
d. none of the mentioned
Que.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
Que.rolling_count function gives the number of non-null observations.
a. True
b. False
c. May be True or False
d. Can’t say
Que.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
Que.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
Que.cov and corr supports the optional min_periods keyword.
a. True
b. False
c. May be True or False
d. Can’t say

Get code60