Data Wrangling 01

Data Wrangling 01

Professional Development

10 Qs

quiz-placeholder

Similar activities

Data Cleaning - Soal Serius

Data Cleaning - Soal Serius

Professional Development

10 Qs

ML Viva

ML Viva

Professional Development

12 Qs

SERBA SERBI PGRI CABANG TANALILI

SERBA SERBI PGRI CABANG TANALILI

Professional Development

10 Qs

Review SQL+ Pandas

Review SQL+ Pandas

Professional Development

10 Qs

FinTech 03-2 Pandas

FinTech 03-2 Pandas

Professional Development

10 Qs

Recap of Numpy, Pandas and Matplotlib

Recap of Numpy, Pandas and Matplotlib

Professional Development

13 Qs

Foundations II. Challenge I

Foundations II. Challenge I

Professional Development

15 Qs

M4_DP

M4_DP

Professional Development

10 Qs

Data Wrangling 01

Data Wrangling 01

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Kim Lim

Used 8+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function would you use to create a NumPy array filled with zeros?

  • a) np.zeros()

b) np.empty()

c) np.ones()

d) np.array()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function would you use to read a CSV file into a DataFrame?

  • a) pd.read_table()

b) pd.read_excel()

c) pd.read_csv()

d) pd.read_json()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you display the first five rows of a DataFrame?

  • a) df.first

b) df.head()

c) df.tail()

d) df.sample()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you drop a column named 'Age' from a DataFrame df?

  • a) df.drop_column('Age')

b) df.remove('Age')

c) df.drop('Age', axis=1)

d) df.delete('Age')

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method is used to check for missing values in a DataFrame?

  • a) df.isna()

b) df.isnull()

c) df.check_na()

d) Both a and b

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to concatenate two DataFrames vertically?

  • a) pd.concat([df1, df2], axis=1)

b) pd.merge([df1, df2])

c) pd.concat([df1, df2], axis=0)

d) pd.join([df1, df2])

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function will you use to merge two DataFrames on a common column?

  • a) pd.concat()

b) pd.append()

c) pd.merge()

d) pd.join()

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?