TIU Quiz-14

Quiz
•
Computers
•
University
•
Medium
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
Similar Resources on Wayground
15 questions
C++ Quiz-1

Quiz
•
University
6 questions
AI Lab-1

Quiz
•
University
15 questions
Python Workshop Day - 2

Quiz
•
University
10 questions
NumPy

Quiz
•
9th Grade - University
10 questions
Intro to Machine Learning Quiz

Quiz
•
University
12 questions
Python Quiz - 2.6

Quiz
•
University
10 questions
Quiz Alprox 3

Quiz
•
University
12 questions
Python Quiz- 1.9

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade