python - 如何将 google colab 中的集群文件保存到 Google Drive
问题描述
我有cluster_Model
我colab
的模型制作 220 个CSV
文件,我想自动保存到我的google Drive
我该怎么做?
解决方案
我没有找到最好的方法,但这对我有用
from google.colab import files
for k in range(211, 221):
fileName = 'cluster'+ str(k) +'.csv' // this is the file name
files.download(fileName)
推荐阅读
- python - 当我的特征多于行时,如何使用 sklearn PCA 获得降维?
- freepascal - 将行读入变量
- scala - Scala 在破坏字符串后返回 UDF 中的多列
- php - 没有标题的 PHP 查询数组(使用 MySQL DB 的 CI)
- unity3d - 禁用附加到的游戏对象后,Unity脚本未禁用
- awk - awk 将一个文件分成 n 个文件,每个文件都有它的标题
- swift - dyld:库未加载(多项目工作区)
- marklogic - 使用 XML 文档中的值搜索 Xpath 并从 Marklogic 获取文档 URI
- python - 如何为 Jenkins 设置 Python 目录结构?
- apache-spark - Spark Streaming 跨批次维护流数据