from google.colab import files df.to_csv('output.csv', encoding = 'utf-8-sig') files.download('output.csv')