TIU Quiz-14

TIU Quiz-14

University

10 Qs

quiz-placeholder

Similar activities

Video Statistics Lab - Preparatory Phase: Pandas

Video Statistics Lab - Preparatory Phase: Pandas

University

8 Qs

Tools Data Science

Tools Data Science

University

10 Qs

A1 IIIB - Introducción a Data Science

A1 IIIB - Introducción a Data Science

11th Grade - University

10 Qs

Python Workshop Day - 2

Python Workshop Day - 2

University

15 Qs

PANDA PYTHON

PANDA PYTHON

11th Grade - Professional Development

9 Qs

NumPy

NumPy

9th Grade - University

10 Qs

Pandas and Matplot Quiz

Pandas and Matplot Quiz

University

12 Qs

104-P-01: Delegates and lambdas

104-P-01: Delegates and lambdas

University

10 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?