Data Analysis Foundations with PythonChapter 112
Chapter 6: Data Manipulation with Pandas
Section 3 of 4-~ 12 min read-Synced from Cuantum content
- Which Pandas data structure is generally used for tabular data?
- - a) Array
- b) DataFrame
- c) Dictionary
- d) Series
- 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')