0

I am using ufo reports in pandas. I want the state which have shape reported "oval"... so I write:

ufo.groupby("State").Shape_Reported=="Oval"

It shows me False as output.. pls help me.pls

John Sloper
  • 1,813
  • 12
  • 14

1 Answers1

0

I would suggest that you go through the documentation and a few tutorials on using pandas.

However, one way of getting the State of all entries with an "Oval" shape would be:

ufo[ufo.Shape_Reported == "Oval"].State
John Sloper
  • 1,813
  • 12
  • 14