如何保存从数据帧生成的 CSV fe 到 gitlab 存储库中

How can I save my CSV fe generated from a dataframe in a gitlab repo

我在 gitlab 中编写了一个 python 文件,该文件是在本地 运行 时生成的,但是在 gitlab 中 运行 时它不保存文件

您需要使用 artifacts 关键字在 gitlab 中保存作业工件,见下文

https://docs.gitlab.com/ee/ci/pipelines/job_artifacts.html#create-job-artifacts