Python Forum
Filter and lambda question
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Filter and lambda question
#3
(Apr-27-2017, 04:10 PM)nilamo Wrote: http://pandas.pydata.org/pandas-docs/sta...filtration When filtering grouped data (in pandas, which I'm guessing you're using), the function you pass filter is passed the entire group, not a particular cell. So yes, you can filter out certain groups based on one of the cells within that group. ...I guess. I've never actually used pandas.

Thank you!
Reply


Messages In This Thread
Filter and lambda question - by smw10c - Apr-27-2017, 03:57 PM
RE: Filter and lambda question - by nilamo - Apr-27-2017, 04:10 PM
RE: Filter and lambda question - by smw10c - Apr-27-2017, 04:34 PM
RE: Filter and lambda question - by zivoni - Apr-27-2017, 04:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Newbie question for using map, lambda zydjohn 2 3,439 Dec-09-2017, 07:18 PM
Last Post: zydjohn

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020