Search Header Logo

IIT Mandi CSE Quiz Day 5

Authored by Suraj Singh

Mathematics

Professional Development

CCSS covered

Used 5+ times

IIT Mandi CSE Quiz Day 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to create a Pandas Series from a Python dictionary?

`pd.DataFrame()`

`pd.Series()`

`pd.SeriesFromDict()`

`pd.SeriesCreator()`

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output when slicing a Pandas Series with `my_series[2:5]`?

All elements from the start to the 5th index.

Elements at positions 2, 3, and 4.

Only the 5th element.

Elements at positions 3, 4, and 5.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a common operation you can perform on a Pandas Series?

Sorting the elements.

Creating histograms directly.

Stacking multiple Series.

Merging multiple Series into one.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you concatenate two Pandas DataFrames vertically?

`pd.merge(df1, df2)`

`pd.concat([df1, df2], axis=0)`

`pd.concat([df1, df2], axis=1)`

`pd.append(df1, df2)`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to group data in a DataFrame by a specific column?

`DataFrame.group_by()`

`DataFrame.groupby()`

`DataFrame.filter()`

`DataFrame.collect()`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the `merge()` function do in Pandas?

Combines DataFrames with overlapping columns.

Splits DataFrames based on a condition.

Visualizes data in DataFrames.

Calculates the mean of grouped data.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Seaborn function is used for creating a scatter plot?

`scatterplot()`

`lineplot()`

`histplot()`

`catplot()`

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?