Code icon

The App is Under a Quick Maintenance

We apologize for the inconvenience. Please come back later

Menu iconMenu iconData Analysis Foundations with Python
Data Analysis Foundations with Python

Quiz for Part III: Core Libraries for Data Analysis

Chapter 6: Data Manipulation with Pandas

  1. Which Pandas data structure is generally used for tabular data? 
    • a) Array
    • b) DataFrame
    • c) Dictionary
    • d) Series
  2. How do you drop a column named 'Age' from a DataFrame df?
    • a) df.remove('Age')
    • b) df.drop(columns=['Age'])
    • c) df.delete('Age')
    • d) df.pop('Age')

Chapter 6: Data Manipulation with Pandas

  1. Which Pandas data structure is generally used for tabular data? 
    • a) Array
    • b) DataFrame
    • c) Dictionary
    • d) Series
  2. How do you drop a column named 'Age' from a DataFrame df?
    • a) df.remove('Age')
    • b) df.drop(columns=['Age'])
    • c) df.delete('Age')
    • d) df.pop('Age')

Chapter 6: Data Manipulation with Pandas

  1. Which Pandas data structure is generally used for tabular data? 
    • a) Array
    • b) DataFrame
    • c) Dictionary
    • d) Series
  2. How do you drop a column named 'Age' from a DataFrame df?
    • a) df.remove('Age')
    • b) df.drop(columns=['Age'])
    • c) df.delete('Age')
    • d) df.pop('Age')

Chapter 6: Data Manipulation with Pandas

  1. Which Pandas data structure is generally used for tabular data? 
    • a) Array
    • b) DataFrame
    • c) Dictionary
    • d) Series
  2. How do you drop a column named 'Age' from a DataFrame df?
    • a) df.remove('Age')
    • b) df.drop(columns=['Age'])
    • c) df.delete('Age')
    • d) df.pop('Age')