def select_month(dataframe, year, month):
    """
    Extract specific year and month from labstat file

    Parameters:
        dataframe (dataframe): A dataframe containing labstat data

        Year (int): The year you want to select

        Month (int): The month you want to select

    Returns:
        dataframe
    """
    dataframe = dataframe.loc[(dataframe['year'] == year) & \
              (dataframe['month'] == month)]

    return dataframe