df = |Index| y position|Desired Result| ------------------------------------------ |0 | 1| | -----------------------------