Google Colab, getting files
https://www.honchosearch.com/blog/seo/how-to-download-files-from-google-colab/
from google.colab import files ... files.download('example_file.csv')
Examples for measuring time
import time import pandas as pd # for saving results from time import perf_counter results = { "n": [], "method": [], "seed": [], "time": [] } start_time = time.time() ... end_time = time.time() results["n"].append(n) results["method"].append( method ) results["seed"].append(seed) results["time"].append(end_time - start_time) pd.DataFrame.from_dict(results).to_excel("hw1_results.xls")