I am new to Python and Pandas and am trying so have a simple function that will repeat the value x amount of times accoring to a adjacent value.
For example:
I want to take the first column (weight) and add it to a new column based on the amount next to it (wheels). So the column will have 1.5 27x, than immediatly after will have 2.4 177x and repeate this for all values shown. Does anyone know a simple way to do this?