{
  "id": 371844,
  "title": "not able to open train.json is it for everyone?",
  "url": "/competitions/convolve-epoch1/discussion/371844",
  "author_name": "JEELMEHTA1473",
  "post_date": "2022-12-12T17:45:54.983000",
  "votes": 3,
  "comment_count": 8,
  "views": 0,
  "content": "<p>I am not able to open train.json after converting it to csv file there is no content in it.</p>",
  "messages": [
    {
      "id": 2063193,
      "postDate": "2022-12-12T17:45:54.983Z",
      "content": "<p>I am not able to open train.json after converting it to csv file there is no content in it.</p>",
      "rawMarkdown": "I am not able to open train.json after converting it to csv file there is no content in it.",
      "votes": 3
    },
    {
      "id": 2063729,
      "postDate": "2022-12-13T08:52:33.183Z",
      "content": "<p>nope it isn't opening from start i tried online converter also</p>",
      "rawMarkdown": "nope it isn't opening from start i tried online converter also\n",
      "votes": 1
    },
    {
      "id": 2066149,
      "postDate": "2022-12-15T12:49:08.500Z",
      "content": "<p>JSONDecodeError: Unterminated string starting at: line 1 column 16777114 (char 16777113)</p>\n<p>File is Not opening</p>",
      "rawMarkdown": "JSONDecodeError: Unterminated string starting at: line 1 column 16777114 (char 16777113)\n \nFile is Not opening"
    },
    {
      "id": 2064224,
      "postDate": "2022-12-13T15:38:20.067Z",
      "content": "<p>I think <code>pandas.read_json</code> won't work as the organization of data in this json file is not compatible with pandas.</p>\n<p>But you can use <code>json</code> library to load the given json file and iterate through all the key-value pairs and then explicitly convert the data into <code>pandas dataframe</code>.</p>",
      "rawMarkdown": "I think `pandas.read_json` won't work as the organization of data in this json file is not compatible with pandas.\n\nBut you can use `json` library to load the given json file and iterate through all the key-value pairs and then explicitly convert the data into `pandas dataframe`.",
      "replies": [
        {
          "id": 2064958,
          "postDate": "2022-12-14T07:46:18.647Z",
          "content": "<p>the result of doing what you are saying is a data frame of size (400000,1) instead of (400000,2) why is that? The output variable is mixing in the input. How to separate them?</p>",
          "rawMarkdown": "the result of doing what you are saying is a data frame of size (400000,1) instead of (400000,2) why is that? The output variable is mixing in the input. How to separate them?",
          "replies": [
            {
              "id": 2067398,
              "postDate": "2022-12-16T17:05:16.607Z",
              "content": "<p>How to resolve this error?</p>",
              "rawMarkdown": "How to resolve this error?"
            }
          ]
        },
        {
          "id": 2065064,
          "postDate": "2022-12-14T09:24:27.510Z",
          "rawMarkdown": "",
          "isDeleted": true
        },
        {
          "id": 2065113,
          "postDate": "2022-12-14T10:13:29.173Z",
          "content": "<p>Kindly note that sharing code between participants of different teams is against the rules of this contest. We request you to delete this comment.</p>",
          "rawMarkdown": "Kindly note that sharing code between participants of different teams is against the rules of this contest. We request you to delete this comment.",
          "votes": 2
        }
      ]
    },
    {
      "id": 2063875,
      "postDate": "2022-12-13T11:45:44.117Z",
      "content": "<p>Tried several ways to read json file, but it just won't open. Does anyone have a solution? </p>",
      "rawMarkdown": "Tried several ways to read json file, but it just won't open. Does anyone have a solution? "
    }
  ],
  "comments": [
    {
      "id": 2063729,
      "author_name": "K Saketh Reddy",
      "author_url": "",
      "post_date": "2022-12-13T08:52:33.183000",
      "content": "<p>nope it isn't opening from start i tried online converter also</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 2066149,
      "author_name": "Anirban Bose",
      "author_url": "",
      "post_date": "2022-12-15T12:49:08.500000",
      "content": "<p>JSONDecodeError: Unterminated string starting at: line 1 column 16777114 (char 16777113)</p>\n<p>File is Not opening</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2064224,
      "author_name": "Joji Joseph",
      "author_url": "",
      "post_date": "2022-12-13T15:38:20.067000",
      "content": "<p>I think <code>pandas.read_json</code> won't work as the organization of data in this json file is not compatible with pandas.</p>\n<p>But you can use <code>json</code> library to load the given json file and iterate through all the key-value pairs and then explicitly convert the data into <code>pandas dataframe</code>.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 2064958,
          "author_name": "vishu.ut",
          "author_url": "",
          "post_date": "2022-12-14T07:46:18.647000",
          "content": "<p>the result of doing what you are saying is a data frame of size (400000,1) instead of (400000,2) why is that? The output variable is mixing in the input. How to separate them?</p>",
          "votes": 0,
          "replies": [
            {
              "id": 2067398,
              "author_name": "JEELMEHTA1473",
              "author_url": "",
              "post_date": "2022-12-16T17:05:16.607000",
              "content": "<p>How to resolve this error?</p>",
              "votes": 0,
              "replies": []
            }
          ]
        },
        {
          "id": 2065064,
          "author_name": "",
          "author_url": "",
          "post_date": "2022-12-14T09:24:27.510000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 2065113,
          "author_name": "Vaibhav Tripathi",
          "author_url": "",
          "post_date": "2022-12-14T10:13:29.173000",
          "content": "<p>Kindly note that sharing code between participants of different teams is against the rules of this contest. We request you to delete this comment.</p>",
          "votes": 2,
          "replies": []
        }
      ]
    },
    {
      "id": 2063875,
      "author_name": "NirmitPatelxxx",
      "author_url": "",
      "post_date": "2022-12-13T11:45:44.117000",
      "content": "<p>Tried several ways to read json file, but it just won't open. Does anyone have a solution? </p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2063193": "I am not able to open train.json after converting it to csv file there is no content in it.",
    "2063729": "nope it isn't opening from start i tried online converter also\n",
    "2066149": "JSONDecodeError: Unterminated string starting at: line 1 column 16777114 (char 16777113)\n \nFile is Not opening",
    "2064224": "I think `pandas.read_json` won't work as the organization of data in this json file is not compatible with pandas.\n\nBut you can use `json` library to load the given json file and iterate through all the key-value pairs and then explicitly convert the data into `pandas dataframe`.",
    "2063875": "Tried several ways to read json file, but it just won't open. Does anyone have a solution? "
  }
}