def dir_Gen(row_num, dataframe):
    """
    Gets the directory of the data from the remarks column
    """

    row = dataframe.loc[row_num]
    directions = row['remarks']

    directionsList = [x.strip() for x in directions.split(',')[:-1]]

    return directionsList