Search Header Logo

SAIMLDS

Authored by Swatantra Agarwal

Computers

University

Used 1+ times

SAIMLDS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of Seaborn in Python data science?

Statistical data visualization 

 Data manipulation

Storing numerical data

 Natural language processing 

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following statements about NumPy arrays is correct?

NumPy arrays can contain elements of different data types. 

NumPy arrays cannot perform element-wise operations. 

NumPy arrays have fixed size. 

NumPy arrays cannot be multidimensional. 

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the `iloc` attribute in Pandas?

Accessing elements by label 

Accessing elements by position

Accessing elements by index 

Accessing elements by value 

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the `np.random.seed()` function in NumPy?

It initializes a random number generator. 

It generates a random array. 

It sets the seed for the random number generator. 

It ensures reproducibility of random results. 

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the `np.arange()` function in NumPy?

To create an array with evenly spaced values within a specified range. 

To generate random numbers. 

To calculate the arithmetic mean of an array. 

To compute the standard deviation of an array. 

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

 How can you rename a column in a Pandas DataFrame?

Using the `rename_column()` method 

Using the `change_column_name()` method 

Using the `set_column_name()` method 

Using the `rename()` method 

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

 Which of the following statements about the `pd.merge()` function in Pandas is true?

It combines DataFrames horizontally. 

It combines DataFrames vertically. 

 It creates a new DataFrame with only unique values.

It drops duplicate rows from a DataFrame.  

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers