def prepare_data(file_dataframe):
    """Function separates data frame to axes and data

    Function takes pandas data frame and separates the
    cols and rows names as x and y axis and matrix values

    Args:
        file_dataframe (str): data frame from read_file()

    Returns:
        list: list of x_labels, y_labels, data, respectively
    """
    x_labels = file_dataframe.columns
    y_labels = file_dataframe.index
    data = file_dataframe.values
    return [x_labels, y_labels, data]
