"\u001b[0;31merror\u001b[0m: (25, 'Inappropriate ioctl for device')"
"\u001b[1;31mThe Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click <a href='https://aka.ms/vscodeJupyterKernelCrash'>here</a> for more info. View Jupyter <a href='command:jupyter.viewOutput'>log</a> for further details."
]
}
],
"source": [
"cmp_count = 0\n",
"\n",
"random_list = np.arange(10)\n",
"np.random.shuffle(random_list)\n",
"\n",
"def cmp_to_key(cmp_fn):\n",
" 'Convert a cmp= function into a key= function'\n",
Canceled future for execute_request message before replies were done
The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click <a href='https://aka.ms/vscodeJupyterKernelCrash'>here</a> for more info. View Jupyter <a href='command:jupyter.viewOutput'>log</a> for further details.
<a href='vscode-notebook-cell:/home/markus/uni/minerl-indexing/shape_complexity/sorting_apllication_test.ipynb#ch0000001?line=44'>45</a> return 1 # a lt b
/home/markus/uni/minerl-indexing/shape_complexity/sorting_apllication_test.ipynb Cell 2' in getKey()