import os
os.chdir(r'kaggle/working')
Now save your dataframe or any other file in this directory as below
df_name.to_csv(r'df_name.csv')
Then in a new cell give the below command
from IPython.display
本文介绍了如何在Kaggle平台利用Python代码保存数据框或其他文件,并生成下载链接,以便用户轻松下载并使用文件。
import os
os.chdir(r'kaggle/working')
Now save your dataframe or any other file in this directory as below
df_name.to_csv(r'df_name.csv')
Then in a new cell give the below command
from IPython.display
1126
526
1094

被折叠的 条评论
为什么被折叠?