Pandas part 5 - Functions

Pandas part 5 - Functions

5th Grade

12 Qs

quiz-placeholder

Similar activities

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

Algorithm

Algorithm

3rd - 6th Grade

10 Qs

Spreadsheet

Spreadsheet

5th - 11th Grade

12 Qs

Common Algorithms Quiz

Common Algorithms Quiz

KG - Professional Development

11 Qs

Google Sheets

Google Sheets

3rd - 12th Grade

8 Qs

Merge Sort

Merge Sort

5th Grade

15 Qs

B Words GCSE Computer Science

B Words GCSE Computer Science

1st - 10th Grade

15 Qs

Common Algorithms -  Bitesize

Common Algorithms - Bitesize

KG - 11th 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?