from typing import List
import pandas as pd
from sklearn.datasets import load_iris


def get_dataset() ->pd.DataFrame:
    """Read dataset into pandas.DataFrame
    Returns:
        pandas.DataFrame
    """
    data = load_iris(as_frame=True)
    dataset = data.frame
    dataset.rename(columns=lambda colname: colname.strip(' (cm)').replace(
        ' ', '_'), inplace=True)
    return dataset


def get_target_names() ->List:
    return load_iris(as_frame=True).target_names.tolist()

335cb41abbcfe492067d0469e851dacd863467cc
<mask token>

<mask token>


def get_target_names() ->List:
    return load_iris(as_frame=True).target_names.tolist()

<mask token>


def get_dataset() ->pd.DataFrame:
    """Read dataset into pandas.DataFrame
    Returns:
        pandas.DataFrame
    """
    data = load_iris(as_frame=True)
    dataset = data.frame
    dataset.rename(columns=lambda colname: colname.strip(' (cm)').replace(
        ' ', '_'), inplace=True)
    return dataset


def get_target_names() ->List:
    return load_iris(as_frame=True).target_names.tolist()

from typing import List
import pandas as pd
from sklearn.datasets import load_iris


def get_dataset() ->pd.DataFrame:
    """Read dataset into pandas.DataFrame
    Returns:
        pandas.DataFrame
    """
    data = load_iris(as_frame=True)
    dataset = data.frame
    dataset.rename(columns=lambda colname: colname.strip(' (cm)').replace(
        ' ', '_'), inplace=True)
    return dataset


def get_target_names() ->List:
    return load_iris(as_frame=True).target_names.tolist()
