Examveda

In Pandas, which method is used to create a subset of a DataFrame by selecting rows based on a specified condition?

A. df[df['column_name'] > value]

B. pivot_table()

C. melt()

D. sort_values()

Answer: Option A


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

Join The Discussion

Related Questions on Data Analysis with Python