Examveda

What is the primary purpose of the "loc" method in Pandas when working with a DataFrame?

A. Grouping and aggregating data

B. Sorting data

C. Selecting rows and columns

D. Filtering data

Answer: Option C


This Question Belongs to Data Science >> Data Analysis With Python

Join The Discussion

Related Questions on Data Analysis with Python