def Is_This_A_Weekday(val):
    """
    Map day of week to binary 1 if weekday 0 if a weekend

    Inputs:
    -------
    val -> representing day of week

    Outputs:
    --------
    -> binary value for being a weekday
    """

    if val in [5,6]:
        return 0
    else:
        return 1