Class-XII_IP_Revision-3

Quiz
•
Computers
•
12th Grade
•
Hard
Preeti Vig
Used 9+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
1.A two dimensional labelled array that is an ordered collection of columns to store heterogeneous data type is
Series
Numpy Array
Dataframe
Panel
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2. How can you create a DataFrame in pandas from a dictionary?
df = pandas.DataFrame.from_dict()
df = pandas.read_dict()
df = pandas.DataFrame(dict)
df = pandas.create.DataFrame()
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
3. Which of the following will return the column labels of a DataFrame?
df.rows()
df.columns
df.labels()
df.colnames()
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
4.Which method is used to remove rows with missing values?
df.fillna()
df.drop()
df.remove()
df.dropna()
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
5. What does df.shape return?
Number of columns only
Number of rows only
(Number of rows, Number of columns)
Size of each column
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
6. Which function returns the total number of non-null values in each column?
df.count()
df.size()
df.length()
df.notnull()
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
7.How can you read a CSV file into a DataFrame?
df = pandas.read_table('file.csv')
df = pandas.open_csv('file.csv')
df = pandas.read_csv('file.csv')
df = pandas.readfile('file.csv')
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Dadakan quiz 1

Quiz
•
12th Grade
10 questions
File handling

Quiz
•
12th Grade
5 questions
Pandas Review

Quiz
•
9th - 12th Grade
13 questions
hexadecimal binary decimal

Quiz
•
10th - 12th Grade
15 questions
CUET Level - II Computer Science(7/11/2023)

Quiz
•
12th Grade
15 questions
Premiere Pro Buttons

Quiz
•
9th - 12th Grade
10 questions
Python Pandas (ai gen)

Quiz
•
12th Grade
8 questions
pandas

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade