Skip to content

MCQ and Quiz for Exams

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

Data analysis with python

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

pct_change
percent_change
per_change
none of the mentioned
Answer is Right!
Answer is Wrong!

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

Subscribe on YouTube

Join Our Telegram Channel

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

SparseList
GeoList
SparseSeries
All of the mentioned
Answer is Right!
Answer is Wrong!

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

Subscribe on YouTube

Join Our Telegram Channel

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

DataFrame
Character Vector
Panel
All of the mentioned
Answer is Right!
Answer is Wrong!

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

Join Our Telegram Channel

Subscribe on YouTube

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

describe()
plt.plot()
df.apply()
np.add()
Answer is Right!
Answer is Wrong!

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

Join Our Telegram Channel

Subscribe on YouTube

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

TRUE
nan
nan
nan
Answer is Right!
Answer is Wrong!

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

Join Our Telegram Channel

Subscribe on YouTube

6. Point out the wrong statement.

min, max, idxmin, idxmax operations are supported on Series
You cannot pass a timedelta to get a particular value
Division by the numpy scalar is true division
None of the mentioned
Answer is Right!
Answer is Wrong!

Detailed SolutionPoint out the wrong statement.

Subscribe on YouTube

Join Our Telegram Channel

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

Matplotlib
Numpy
Scikit-learn
Pandas
Answer is Right!
Answer is Wrong!

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

Join Our Telegram Channel

Subscribe on YouTube

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

Timeseries
Timeplus
Timedelta
None of the mentioned
Answer is Right!
Answer is Wrong!

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

Join Our Telegram Channel

Subscribe on YouTube

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?

Numpy
Keras
TensorFlow
Numpy
Answer is Right!
Answer is Wrong!

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?

Subscribe on YouTube

Join Our Telegram Channel

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

groupby()
value_counts()
describe()
reshape()
Answer is Right!
Answer is Wrong!

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

Join Our Telegram Channel

Subscribe on YouTube
Page 1Page 2Page 3Page 4Page 5

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