You get the values as a numpy array, so you can already do all the statistics that Excel can do using a few lines of Python code (using numpy, pandas, etc.). To browse values in a nicer environment than the plain Python console, you can use Jupyter notebooks or JupyterLab (using SlicerJupyter extension).
Anyway, you can save a numpy array into csv file format that Excel can load, for example using this command pandas.DataFrame(distances).to_csv(filename).
