Float Slider - Affecting Values in Column 'Pandas' - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Float Slider - Affecting Values in Column 'Pandas' (/thread-36163.html) |
Float Slider - Affecting Values in Column 'Pandas' - planckepoch86 - Jan-22-2022 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 :) |