0

I have a dataframe df. I want to extract a subset from it such that the values in the Avg. column are either 25 or 30.

dfsubset = df[df["Avg."]==25 | df["Avg."]==30]

This seems really natural looking, but gives an error. What am I doing wrong!?!

Pinchi
  • 3
  • 1

0 Answers0