📜  将 kaggle 连接到 colab - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:50.611000             🧑  作者: Mango

代码示例2
! pip install -q kaggle

from google.colab import files
files.upload()

! mkdir ~/.kaggle
! cp kaggle.json ~/.kaggle/

!chmod 600 ~/.kaggle/kaggle.json

! kaggle datasets list  # to check if it is working

!kaggle competitions download -c tabular-playground-series-mar-2021