Python Forum
How can I write a function with three parameters?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I write a function with three parameters?
#1
I want to write a three parameter function in Python. The output of the function should be data frame and it should square the given column. For example math_sq (df, column, value). How can I write this function?
Reply


Messages In This Thread
How can I write a function with three parameters? - by MehmetAliKarabulut - Mar-04-2021, 04:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to Write a function with Pandas? SuperNinja3I3 4 2,436 Jul-03-2022, 02:19 PM
Last Post: ndc85430
  Write function to find decryptionkey kotter 3 3,245 Dec-11-2019, 07:04 PM
Last Post: nilamo
  Writing a function that accepts two integer parameters (lines and cheers) taydeal20 1 3,162 Feb-05-2018, 08:35 PM
Last Post: nilamo
  how to write a function in python that solves an equation samiraheen 5 9,897 Sep-28-2017, 01:10 AM
Last Post: Mekire
  Write a function sorting(L)? MoIbrahim 11 8,483 Apr-22-2017, 11:45 AM
Last Post: idontreallywolf
  function to write the contents of a webpage into a new file roadrage 4 6,141 Dec-01-2016, 09:28 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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