Python Pandas Interview Questions and Answers
Question: How do you select specific columns from a DataFrame?Answer: df[['column1', 'column2']] |
Is it helpful?
Yes
No
Most helpful rated by users:
Question: How do you select specific columns from a DataFrame?Answer: df[['column1', 'column2']] |
Most helpful rated by users: