Helper function to get the vector or column form df. If vector is passed it returns it. If name of column is passed, it returns the column as a vector.
Useful links