Diving and duplication row in DataFrame above a certain value
I have the dataframe below. If the value in “Volume” is greater than > 1000, I would like to divide the volume by two and duplicate the entire row. Any advise on how to do this in Python?