<filename>sklearn_genetic/utils/logbook.py
import pandas as pd


def logbook_to_pandas(logbook):
    data = logbook.chapters["parameters"]
    df = pd.DataFrame(data)
    return df

<filename>sklearn_genetic/utils/logbook.py
import pandas as pd


def logbook_to_pandas(logbook):
    data = logbook.chapters["parameters"]
    df = pd.DataFrame(data)
    return df
