Accessing multiple columns of a DataFrame

Report a typo

Imagine that you have a DataFrame named my_df.

Write down a line of code that would access the 'A' and 'B' columns of my_df. You can assume that these columns are present in the DataFrame.

Note: in your answer, use single quotation marks (' ') when typing the column names.

Enter a short text
___

Create a free account to access the full topic