def educational_building(data):
    """Extract educational.

    :param Dataframe data: Pandas Dataframe of building dataset
    :return: DataFrame containing educational buildings
    :retype: DataFrame
    """
    education = data.loc[["kindergarten", "school", "university"], :]
    listOfString_edu = ['educational' for i in range(len(education))]
    education.insert(1, "buildings", listOfString_edu, True)
    educational = education.reset_index(drop=True)
    return educational