Python Forum
Pass 2 columns via loc to lambda in pandas
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pass 2 columns via loc to lambda in pandas
#2
Maybe he thinks its more pythonic because lambda can be used with for instance the map function and you could avoid making a loop yourself(?).

This page has a pretty good description i think:
https://www.python-course.eu/lambda.php
Reply


Messages In This Thread
RE: Pass 2 columns via loc to lambda in pandas - by glidecode - Feb-22-2018, 09:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pass an object to a class, then make an object of it and pass again TomasAm 11 4,757 Nov-09-2020, 04:47 PM
Last Post: buran
  pandas dataframe substracting columns: key error metalray 2 7,136 Feb-24-2017, 07:59 AM
Last Post: metalray

Forum Jump:

User Panel Messages

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