{
  "id": 195494,
  "title": "Hide or show code?",
  "url": "/competitions/cdp-unlocking-climate-solutions/discussion/195494",
  "author_name": "",
  "post_date": "2020-11-05T20:39:43.499557200Z",
  "votes": 5,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Hi there! <br>\nThis project is quite huge and demand many preprocessing steps. I wonder if our notebooks should show them or hide the code boxes. I think that code boxes, with comments, are nice but notebooks will be very dense. WDYT ? <br>\nBest !</p>\n<p>(see my notebook to understand what I'm saying: <a href=\"https://www.kaggle.com/boltmaud/kpis-for-climate-solutions\" target=\"_blank\">notebook</a>)</p>",
  "messages": [
    {
      "id": "1070491",
      "postDate": "11/05/2020 20:39:43",
      "content": "<p>Hi there! <br>\nThis project is quite huge and demand many preprocessing steps. I wonder if our notebooks should show them or hide the code boxes. I think that code boxes, with comments, are nice but notebooks will be very dense. WDYT ? <br>\nBest !</p>\n<p>(see my notebook to understand what I'm saying: <a href=\"https://www.kaggle.com/boltmaud/kpis-for-climate-solutions\" target=\"_blank\">notebook</a>)</p>",
      "rawMarkdown": "Hi there! \nThis project is quite huge and demand many preprocessing steps. I wonder if our notebooks should show them or hide the code boxes. I think that code boxes, with comments, are nice but notebooks will be very dense. WDYT ? \nBest !\n\n(see my notebook to understand what I'm saying: [notebook](https://www.kaggle.com/boltmaud/kpis-for-climate-solutions))",
      "votes": null
    },
    {
      "id": "1070504",
      "postDate": "11/05/2020 20:55:06",
      "content": "<p>It is up to you!  </p>\n<p>For my notebooks I hide most code cells because I think it makes it easier to focus on the plots and the narrative (here is an <a href=\"https://www.kaggle.com/paultimothymooney/how-to-get-started-with-the-earth-engine-data\" target=\"_blank\">example</a>). Notebook viewers can then \"unhide\" individual code cells with the click of a button (by clicking on either the \"code\" button or the \"copy and edit\" button).</p>",
      "rawMarkdown": "It is up to you!  \n\nFor my notebooks I hide most code cells because I think it makes it easier to focus on the plots and the narrative (here is an [example](https://www.kaggle.com/paultimothymooney/how-to-get-started-with-the-earth-engine-data)). Notebook viewers can then \"unhide\" individual code cells with the click of a button (by clicking on either the \"code\" button or the \"copy and edit\" button).",
      "votes": null
    },
    {
      "id": "1070534",
      "postDate": "11/05/2020 21:23:39",
      "content": "<p>Oh cool! I didn't know that we could do it so easily! Thanks</p>",
      "rawMarkdown": "Oh cool! I didn't know that we could do it so easily! Thanks",
      "votes": null
    },
    {
      "id": "1070547",
      "postDate": "11/05/2020 21:40:07",
      "content": "<p>Yep!  To hide a code cell you need to: (1) be inside of the notebook editor; (2) click on the three dots in the top right of the code cell that you want to hide; (3) select \"hide input\"; and then (4) save a new version of your notebook.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2Ffc5fa1bd1d89ccd5bde00f62512a8276%2FScreen%20Shot%202020-11-05%20at%202.36.55%20PM.png?generation=1604612342769858&amp;alt=media\" alt=\"\"></p>\n<p>And then when you are in the notebook viewer you can can \"unhide\" the hidden code by clicking on the \"code\" button that should show up in the top right corner of every hidden code cell.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2F29f3c8265fbf893f3f9b22c0376705cc%2FScreen%20Shot%202020-11-05%20at%202.37.47%20PM.png?generation=1604612381437474&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2F32be9a7bf86453e0a541c1b08880195a%2FScreen%20Shot%202020-11-05%20at%202.37.59%20PM.png?generation=1604612393600320&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Yep!  To hide a code cell you need to: (1) be inside of the notebook editor; (2) click on the three dots in the top right of the code cell that you want to hide; (3) select \"hide input\"; and then (4) save a new version of your notebook.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2Ffc5fa1bd1d89ccd5bde00f62512a8276%2FScreen%20Shot%202020-11-05%20at%202.36.55%20PM.png?generation=1604612342769858&alt=media)\n\nAnd then when you are in the notebook viewer you can can \"unhide\" the hidden code by clicking on the \"code\" button that should show up in the top right corner of every hidden code cell.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2F29f3c8265fbf893f3f9b22c0376705cc%2FScreen%20Shot%202020-11-05%20at%202.37.47%20PM.png?generation=1604612381437474&alt=media)\n\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2F32be9a7bf86453e0a541c1b08880195a%2FScreen%20Shot%202020-11-05%20at%202.37.59%20PM.png?generation=1604612393600320&alt=media)",
      "votes": null
    },
    {
      "id": "1102059",
      "postDate": "12/04/2020 14:30:39",
      "content": "<p>THANK YOU! I've been wondering about this. It could make my submissions better.</p>",
      "rawMarkdown": "THANK YOU! I've been wondering about this. It could make my submissions better.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1070504,
      "author_name": "paultimothymooney",
      "author_url": "",
      "post_date": "11/05/2020 20:55:06",
      "content": "<p>It is up to you!  </p>\n<p>For my notebooks I hide most code cells because I think it makes it easier to focus on the plots and the narrative (here is an <a href=\"https://www.kaggle.com/paultimothymooney/how-to-get-started-with-the-earth-engine-data\" target=\"_blank\">example</a>). Notebook viewers can then \"unhide\" individual code cells with the click of a button (by clicking on either the \"code\" button or the \"copy and edit\" button).</p>",
      "votes": null,
      "replies": [
        {
          "id": 1070534,
          "author_name": "boltmaud",
          "author_url": "",
          "post_date": "11/05/2020 21:23:39",
          "content": "<p>Oh cool! I didn't know that we could do it so easily! Thanks</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1070547,
          "author_name": "paultimothymooney",
          "author_url": "",
          "post_date": "11/05/2020 21:40:07",
          "content": "<p>Yep!  To hide a code cell you need to: (1) be inside of the notebook editor; (2) click on the three dots in the top right of the code cell that you want to hide; (3) select \"hide input\"; and then (4) save a new version of your notebook.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2Ffc5fa1bd1d89ccd5bde00f62512a8276%2FScreen%20Shot%202020-11-05%20at%202.36.55%20PM.png?generation=1604612342769858&amp;alt=media\" alt=\"\"></p>\n<p>And then when you are in the notebook viewer you can can \"unhide\" the hidden code by clicking on the \"code\" button that should show up in the top right corner of every hidden code cell.</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2F29f3c8265fbf893f3f9b22c0376705cc%2FScreen%20Shot%202020-11-05%20at%202.37.47%20PM.png?generation=1604612381437474&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2F32be9a7bf86453e0a541c1b08880195a%2FScreen%20Shot%202020-11-05%20at%202.37.59%20PM.png?generation=1604612393600320&amp;alt=media\" alt=\"\"></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1102059,
          "author_name": "fireballbyedimyrnmom",
          "author_url": "",
          "post_date": "12/04/2020 14:30:39",
          "content": "<p>THANK YOU! I've been wondering about this. It could make my submissions better.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1070491": "Hi there! \nThis project is quite huge and demand many preprocessing steps. I wonder if our notebooks should show them or hide the code boxes. I think that code boxes, with comments, are nice but notebooks will be very dense. WDYT ? \nBest !\n\n(see my notebook to understand what I'm saying: [notebook](https://www.kaggle.com/boltmaud/kpis-for-climate-solutions))",
    "1070504": "It is up to you!  \n\nFor my notebooks I hide most code cells because I think it makes it easier to focus on the plots and the narrative (here is an [example](https://www.kaggle.com/paultimothymooney/how-to-get-started-with-the-earth-engine-data)). Notebook viewers can then \"unhide\" individual code cells with the click of a button (by clicking on either the \"code\" button or the \"copy and edit\" button).",
    "1070534": "Oh cool! I didn't know that we could do it so easily! Thanks",
    "1070547": "Yep!  To hide a code cell you need to: (1) be inside of the notebook editor; (2) click on the three dots in the top right of the code cell that you want to hide; (3) select \"hide input\"; and then (4) save a new version of your notebook.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2Ffc5fa1bd1d89ccd5bde00f62512a8276%2FScreen%20Shot%202020-11-05%20at%202.36.55%20PM.png?generation=1604612342769858&alt=media)\n\nAnd then when you are in the notebook viewer you can can \"unhide\" the hidden code by clicking on the \"code\" button that should show up in the top right corner of every hidden code cell.\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2F29f3c8265fbf893f3f9b22c0376705cc%2FScreen%20Shot%202020-11-05%20at%202.37.47%20PM.png?generation=1604612381437474&alt=media)\n\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1314380%2F32be9a7bf86453e0a541c1b08880195a%2FScreen%20Shot%202020-11-05%20at%202.37.59%20PM.png?generation=1604612393600320&alt=media)",
    "1102059": "THANK YOU! I've been wondering about this. It could make my submissions better."
  },
  "source": "meta"
}