Pandas part 5 - Functions

Pandas part 5 - Functions

5th Grade

12 Qs

quiz-placeholder

Similar activities

Merge Sort

Merge Sort

5th Grade

15 Qs

B Words GCSE Computer Science

B Words GCSE Computer Science

1st - 10th Grade

15 Qs

MATLAB 2

MATLAB 2

KG - University

10 Qs

Sort and search algorithms

Sort and search algorithms

KG - 5th Grade

10 Qs

U26 Q5 The Matrix!

U26 Q5 The Matrix!

KG - University

14 Qs

BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU

BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU

1st - 12th Grade

10 Qs

Introduction to Programming

Introduction to Programming

2nd - 10th Grade

10 Qs

GCSE Computing - Searching & Sorting algorithms #1

GCSE Computing - Searching & Sorting algorithms #1

4th - 5th Grade

10 Qs

Pandas part 5 - Functions

Pandas part 5 - Functions

Assessment

Quiz

Computers

5th Grade

Medium

Created by

Nidhi Singh

Used 2+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does head() function do in a Pandas Series?

Returns the last five elements

Returns the first five elements

Returns a sorted Series

Removes missing values

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to return the number of non-null elements in a Series?

sort_values()

count()

median()

fillna()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you get the sum of all values in a Pandas Series?

sort_values()

count()

sum()

fillna()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to return the index positions sorted in ascending order?

sort_values()

sort_index()

sum()

fillna()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to replace NaN values in a Series, which function should you use?

sort_values()

sort_index()

dropna()

fillna()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function removes missing (NaN) values from a Series?

sort_values()

sort_index()

dropna()

fillna()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you sort a Pandas Series by its values?

sort_values()

sort_index()

dropna()

fillna()

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?