{
  "id": 294751,
  "title": "how downloading  full data set from kaggle to colab ",
  "url": "/competitions/siim-isic-melanoma-classification/discussion/294751",
  "author_name": "",
  "post_date": "2021-12-12T12:53:29.984892300Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>i am trying to download this data set on colab i did but when i am using API address its just download the sample of data set but i need whole data set anybody knows what should i do </p>",
  "messages": [
    {
      "id": "1615603",
      "postDate": "12/12/2021 12:53:29",
      "content": "<p>i am trying to download this data set on colab i did but when i am using API address its just download the sample of data set but i need whole data set anybody knows what should i do </p>",
      "rawMarkdown": "i am trying to download this data set on colab i did but when i am using API address its just download the sample of data set but i need whole data set anybody knows what should i do",
      "votes": null
    },
    {
      "id": "1755748",
      "postDate": "04/14/2022 23:56:39",
      "content": "<p>from google.colab import files</p>\n<p>uploaded = files.upload()</p>\n<p>for fn in uploaded.keys():<br>\n  print('User uploaded file \"{name}\" with length {length} bytes'.format(<br>\n      name=fn, length=len(uploaded[fn])))</p>\n<h1>Then move kaggle.json into the folder where the API expects to find it.</h1>\n<p>!mkdir -p ~/.kaggle/ &amp;&amp; mv kaggle.json ~/.kaggle/ &amp;&amp; chmod 600 ~/.kaggle/kaggle.json</p>\n<p>!kaggle datasets download \"artakusuma/basedir\" </p>",
      "rawMarkdown": "from google.colab import files\n\nuploaded = files.upload()\n\nfor fn in uploaded.keys():\n  print('User uploaded file \"{name}\" with length {length} bytes'.format(\n      name=fn, length=len(uploaded[fn])))\n  \n# Then move kaggle.json into the folder where the API expects to find it.\n!mkdir -p ~/.kaggle/ && mv kaggle.json ~/.kaggle/ && chmod 600 ~/.kaggle/kaggle.json\n\n!kaggle datasets download \"artakusuma/basedir\"",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1755748,
      "author_name": "anaselmasry",
      "author_url": "",
      "post_date": "04/14/2022 23:56:39",
      "content": "<p>from google.colab import files</p>\n<p>uploaded = files.upload()</p>\n<p>for fn in uploaded.keys():<br>\n  print('User uploaded file \"{name}\" with length {length} bytes'.format(<br>\n      name=fn, length=len(uploaded[fn])))</p>\n<h1>Then move kaggle.json into the folder where the API expects to find it.</h1>\n<p>!mkdir -p ~/.kaggle/ &amp;&amp; mv kaggle.json ~/.kaggle/ &amp;&amp; chmod 600 ~/.kaggle/kaggle.json</p>\n<p>!kaggle datasets download \"artakusuma/basedir\" </p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1615603": "i am trying to download this data set on colab i did but when i am using API address its just download the sample of data set but i need whole data set anybody knows what should i do",
    "1755748": "from google.colab import files\n\nuploaded = files.upload()\n\nfor fn in uploaded.keys():\n  print('User uploaded file \"{name}\" with length {length} bytes'.format(\n      name=fn, length=len(uploaded[fn])))\n  \n# Then move kaggle.json into the folder where the API expects to find it.\n!mkdir -p ~/.kaggle/ && mv kaggle.json ~/.kaggle/ && chmod 600 ~/.kaggle/kaggle.json\n\n!kaggle datasets download \"artakusuma/basedir\""
  },
  "source": "meta"
}