Skip to content

MCQ and Quiz for Exams

  • Home
  • Telangana and Karnataka
  • Bihar
  • Haryana
  • Assam
  • Jammu and kashmir

Data analysis with python

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

[amp_mcq option1=”pct_change” option2=”percent_change” option3=”per_change” option4=”none of the mentioned” correct=”option1″]

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

2. Which of the following list-like data structure is used for managing a dynamic collection of SparseArrays?

[amp_mcq option1=”SparseList” option2=”GeoList” option3=”SparseSeries” option4=”All of the mentioned” correct=”option4″]

Detailed SolutionWhich of the following list-like data structure is used for managing a dynamic collection of SparseArrays?

3. Which of the following object you get after reading CSV file?

[amp_mcq option1=”DataFrame” option2=”Character Vector” option3=”Panel” option4=”All of the mentioned” correct=”option4″]

Detailed SolutionWhich of the following object you get after reading CSV file?

4. What Python function is used to perform element-wise mathematical operations on Numpy arrays?

[amp_mcq option1=”describe()” option2=”plt.plot()” option3=”df.apply()” option4=”np.add()” correct=”option4″]

Detailed SolutionWhat Python function is used to perform element-wise mathematical operations on Numpy arrays?

5. All values of categorical data are either in categories or np.nan.

[amp_mcq option1=”TRUE” option2=”nan” option3=”nan” option4=”nan” correct=”option4″]

Detailed SolutionAll values of categorical data are either in categories or np.nan.

6. Point out the wrong statement.

[amp_mcq option1=”min, max, idxmin, idxmax operations are supported on Series” option2=”You cannot pass a timedelta to get a particular value” option3=”Division by the numpy scalar is true division” option4=”None of the mentioned” correct=”option2″]

Detailed SolutionPoint out the wrong statement.

7. Which Python library is commonly used for data preprocessing tasks, such as feature scaling and transformation in machine learning?

[amp_mcq option1=”Matplotlib” option2=”Numpy” option3=”Scikit-learn” option4=”Pandas” correct=”option4″]

Detailed SolutionWhich Python library is commonly used for data preprocessing tasks, such as feature scaling and transformation in machine learning?

8. Numeric reduction operation for timedelta64[ns] will return . . . . . . . . objects.

[amp_mcq option1=”Timeseries” option2=”Timeplus” option3=”Timedelta” option4=”None of the mentioned” correct=”option3″]

Detailed SolutionNumeric reduction operation for timedelta64[ns] will return . . . . . . . . objects.

9. In Python, which library is often used for deep learning tasks, including neural network construction and training, with a focus on simplicity and flexibility?

[amp_mcq option1=”Numpy” option2=”Keras” option3=”TensorFlow” option4=”Numpy” correct=”option2″]

Detailed SolutionIn Python, which library is often used for deep learning tasks, including neural network construction and training, with a focus on simplicity and flexibility?

10. In Pandas, what method is used to calculate summary statistics for numerical columns in a DataFrame?

[amp_mcq option1=”groupby()” option2=”value_counts()” option3=”describe()” option4=”reshape()” correct=”option3″]

Detailed SolutionIn Pandas, what method is used to calculate summary statistics for numerical columns in a DataFrame?

Page 1Page 2Page 3Page 4Page 5

Test 1Test 2Test 3
© PSC Notes- Serving since 2015
  • Home
  • Telangana and Karnataka
  • Bihar
  • Haryana
  • Assam
  • Jammu and kashmir
Go to mobile version