Python Forum
Float Slider - Affecting Values in Column 'Pandas'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Float Slider - Affecting Values in Column 'Pandas'
#1
Hi All,

New to python and pandas but enjoying so far and become a little stuck. I'm building a function which is built up of a slider that when moved affects the index of a matched row and readjusts the quantity into a new column with a new total. This is the code I have below but i'm having trouble with the indexing/matching part, do i use df.loc (have tried but still no luck.)

I posted this over on stackoverflow but no luck so far.

Stackoverflow - Float Slider

See above - i'd post the code snippet but the button is not working for me on this forum. (code is on stackoverflow)

Any help greatly appreciated :)

Attached Files

Thumbnail(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Get an average of the unique values of a column with group by condition and assign it klllmmm 0 220 Feb-17-2024, 05:53 PM
Last Post: klllmmm
  Converting column of values into muliple columns of counts highland44 0 205 Feb-01-2024, 12:48 AM
Last Post: highland44
  Python Alteryx QS-Passing pandas dataframe column inside SQL query where condition sanky1990 0 689 Dec-04-2023, 09:48 PM
Last Post: sanky1990
  pandas : problem with conditional filling of a column Xigris 2 591 Jul-22-2023, 11:44 AM
Last Post: Xigris
  Write Null values as 0.0 (float) type in csv mg24 3 1,305 Dec-07-2022, 09:04 PM
Last Post: deanhystad
  PowerBI: Using Python Regex to look for values in column MarcusR44 1 919 Oct-14-2022, 01:03 PM
Last Post: ibreeden
  How to assign a value to pandas dataframe column rows based on a condition klllmmm 0 797 Sep-08-2022, 06:32 AM
Last Post: klllmmm
  How to combine multiple column values into 1? cubangt 15 2,626 Aug-11-2022, 08:25 PM
Last Post: cubangt
  Basic Pandas, obtaining a value from column and row JamesOzone 2 1,054 Jun-30-2022, 07:16 PM
Last Post: jefsummers
  Creating a numpy array from specific values of a spreadsheet column JulianZ 0 1,075 Apr-19-2022, 07:36 AM
Last Post: JulianZ

Forum Jump:

User Panel Messages

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