def updateGraph(vendor_value, cpu_value, kernel_value, os_value, model_value,
                mem_value, dimms_value, threads_value, cores_value, tdp_value):
    search_result = search(vendor_value, cpu_value, kernel_value, os_value,
                           model_value, mem_value, dimms_value, threads_value,
                           cores_value, tdp_value).sort_values(by=['Score'],
                                                               ascending=False)

    return setSideChartsdata(search_result, 'Cores')
def updateGraph(vendor_value, cpu_value, kernel_value, os_value, model_value,
                mem_value, dimms_value, threads_value, cores_value, tdp_value,
                x_value, y_values, param):
    search_result = search(vendor_value, cpu_value, kernel_value, os_value,
                           model_value, mem_value, dimms_value, threads_value,
                           cores_value, tdp_value).sort_values(by=['Score'],
                                                               ascending=False)

    return scatterChartsData(search_result, y_values, x_value, param)
def updateGraph(vendor_value, cpu_value, kernel_value, os_value, model_value,
                mem_value, dimms_value, threads_value, cores_value, tdp_value,
                x_value, y_values):
    search_result = search(vendor_value, cpu_value, kernel_value, os_value,
                           model_value, mem_value, dimms_value, threads_value,
                           cores_value, tdp_value).sort_values(by=[x_value],
                                                               ascending=False)

    return setBigGraphData(search_result, y_values, x_value)
def updateTable(vendor_value, cpu_value, kernel_value, os_value, model_value,
                mem_value, dimms_value, threads_value, cores_value, tdp_value):

    return search(vendor=vendor_value,
                  cpu=cpu_value,
                  kernel=kernel_value,
                  os=os_value,
                  model=model_value,
                  mem=mem_value,
                  dimms=dimms_value,
                  threads=threads_value,
                  cores=cores_value,
                  tdp=tdp_value).sort_values(
                      by=['Score'], ascending=False).to_dict('records'),