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
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
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