Python Forum
Function for grouping variables
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function for grouping variables
#2
Use python tags for multiline code. The icode tags are for inline code.

Have you tried running that code? It doesn't look like it works to me.

Once it works, you'll probably want to use the map method of the series to apply it.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Function for grouping variables - by Scott - Nov-13-2018, 02:14 AM
RE: Function for grouping variables - by ichabod801 - Nov-13-2018, 03:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Grouping Data based on 30% bracket purnima1 4 1,203 Mar-10-2023, 07:38 PM
Last Post: deanhystad
  How to print variables in function? samuelbachorik 3 918 Dec-31-2022, 11:12 PM
Last Post: stevendaprano
  User-defined function to reset variables? Mark17 3 1,663 May-25-2022, 07:22 PM
Last Post: Gribouillis
  Grouping and sum of a list of objects Otbredbaron 1 3,226 Oct-23-2021, 01:42 PM
Last Post: Gribouillis
  Grouping and summing of dataset jef 0 1,652 Oct-04-2020, 11:03 PM
Last Post: jef
  Do I have to pass 85 variables to function? Milfredo 10 4,327 Sep-26-2020, 10:13 PM
Last Post: Milfredo
  print function help percentage and slash (multiple variables) leodavinci1990 3 2,500 Aug-10-2020, 02:51 AM
Last Post: bowlofred
  Grouping algorithm riccardoob 7 3,040 May-19-2020, 01:22 PM
Last Post: deanhystad
  Issues with storing variables outside of a function cerulean747 7 3,739 Apr-30-2020, 08:46 AM
Last Post: DeaD_EyE
  Where to put the global keyword when assigning variables outside a function? new_to_python 8 3,049 Feb-09-2020, 02:05 PM
Last Post: new_to_python

Forum Jump:

User Panel Messages

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