Data Analysis Foundations with PythonChapter 112

Chapter 6: Data Manipulation with Pandas

Section 3 of 4-~ 12 min read-Synced from Cuantum content
  1. Which Pandas data structure is generally used for tabular data?
  2. - a) Array
  • b) DataFrame
  • c) Dictionary
  • d) Series
  1. How do you drop a column named 'Age' from a DataFrame df?
  2. - a) df.remove('Age')
  • b) df.drop(columns=['Age'])
  • c) df.delete('Age')
  • d) df.pop('Age')