def METHOD_NAME(epochs, what):
    """Channel array extraction from MNE for plotting.
    Select one or several channels by name and returns them in a dataframe.
    """
    data = epochs.to_data_frame()
    data = data.rename(columns={"time": "Time", "condition": "Condition", "epoch": "Label"})
    data["Time"] = data["Time"] / 1000  # ms to seconds
    if isinstance(what, str):
        data = data[[x for x in data.columns.values if x in ["Time", "Condition", "Label", what]]]
    # Select a few specified channels
    elif isinstance(what, list):
        data = data[[x for x in data.columns.values if x in ["Time", "Condition", "Label"] + what]]
    return data