Quiz: Data Manipulation and Preparation

Test your knowledge of data formatting and creating visualizations using Plotly Express.

1

Which of the following operations creates a boolean column is_present that identifies missing values in the dataset (df)and sets the value to false for that entry?

A)

df['is_present'] = df['target_column'].notna()

B)

df['is_present'] = df['target_column'].na()

C)

df['is_present'] = df['target_column'].isna()

D)

df['is_present'] = df['target_column'].value_counts

Question 1 of 40 attempted

Get hands-on with 1200+ tech skills courses.