Currently I am working on my own project and I am attempting to create a new column that is based off an if statement condition in which I am trying to return an indexed element