
Class-XII_IP_Revision-3
Authored by Preeti Vig
Computers
12th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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?
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?
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')
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?