a) rankb) dense_rankc) partition_rankd) none of the mentioned Answer: aExplanation: rank is also a DataFrame ...
View Questionrolling_count function gives the number of non-null observations.
a) Trueb) False Answer: bExplanation: The binary operators take two Series or DataFrames.
View QuestionWhich of the following is implemented on DataFrame to compute the correlation between like-labeled Series contained in different DataFrame objects?
a) corrwithb) corwithc) corwitd) none of the mentioned Answer: aExplanation: A score close to 1 ...
View QuestionPoint out the wrong statement.
a) lxml is very fastb) lxml requires Cython to install correctlyc) lxml does not make any guarantees about ...
View QuestionWhich of the following specifies the required minimum number of observations for each column pair in order to have a valid result?
a) min_periodsb) max_periodsc) minimum_periodsd) all of the mentioned Answer: aExplanation: DataFrame.cov also supports an optional ...
View QuestionWhich of the following object has a method cov to compute covariance between series?
a) Seriesb) DataFramec) Paneld) none of the mentioned Answer: aExplanation: DataFrame has a method cov ...
View QuestionPoint out the correct statement.
a) Pandas represents timestamps in microsecond resolutionb) Pandas is 100% thread safec) For Series and DataFrame objects, var ...
View QuestionWhich of the following is used to compute the percent change over a given number of periods?
a) pct_changeb) percent_changec) per_changed) none of the mentioned Answer: aExplanation: Series, DataFrame, and Panel all ...
View QuestionIf data is an ndarray, index must be the same length as data.
a) Trueb) False Answer: aExplanation: If no index is passed, one will be created having ...
View QuestionWhich of the following operation works with the same syntax as the analogous dict operations?
a) Getting columnsb) Setting columnsc) Deleting columnsd) all of the mentioned Answer: dExplanation: You can ...
View Question