Python Forum

Full Version: Float Slider - Affecting Values in Column 'Pandas'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 :)