TIU Quiz-14

TIU Quiz-14

University

10 Qs

quiz-placeholder

Similar activities

pandas

pandas

9th Grade - University

8 Qs

23S1 1906

23S1 1906

University

11 Qs

A1 IIIB - Introducción a Data Science

A1 IIIB - Introducción a Data Science

11th Grade - University

10 Qs

A3 IIIB - Básicas de EDA

A3 IIIB - Básicas de EDA

11th Grade - University

10 Qs

IIP D1 - Introduction to Data Analysis

IIP D1 - Introduction to Data Analysis

University

10 Qs

Pandas Merge Quiz

Pandas Merge Quiz

University

10 Qs

Data Analytics and Artificial Intelligence

Data Analytics and Artificial Intelligence

University

10 Qs

Python Workshop Day - 2

Python Workshop Day - 2

University

15 Qs

TIU Quiz-14

TIU Quiz-14

Assessment

Quiz

Computers

University

Medium

Created by

Rahul Mahato

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to import the pandas library?

import pandas as pd

import pd

import numpy as pd

import panda

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure does pandas primarily use for one-dimensional labeled data?

DataFrame

Series

Panel

Array

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a pandas Series from a list [1, 2, 3, 4]?

pd.DataFrame([1, 2, 3, 4])

pd.Series([1, 2, 3, 4])

pd.Series(1, 2, 3, 4)

pd.Series({1, 2, 3, 4})

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How you will create a Series from scalar?

pd.Series(5, index = [0, 1, 2, 3, 4])

pd.Series(5, index = [0,5])

Series(5, index = [(0, 1, 2, 3, 4))

pd.Series(5, index = (0, 1, 2, 3, 4))

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check if all elements in a Series s are unique?

s.unique()

s.is_unique()

s.all_unique()

s.check_unique()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to concatenate multiple Series into a single Series?

pd.concat_series()

pd.series_concat()

pd.concat()

pd.append_series()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the method s.idxmin() return for a Series s?

Index of the minimum value in s

Minimum value in s

Count of occurrences of the minimum value in s

Sum of values in s

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?