Q. Which of the following is used to select a column in a pandas DataFrame?
β
Correct Answer: (C)
Both A and B
Explanation: You can select a column using dot notation (df.column_name) or dictionary-style indexing (df['column_name']).