{
  "id": 313018,
  "title": "Getting memory error when trying to merge transactions and articles dataframe. Can someone please help!",
  "url": "/competitions/h-and-m-personalized-fashion-recommendations/discussion/313018",
  "author_name": "",
  "post_date": "2022-03-15T08:35:56.194018900Z",
  "votes": 1,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Getting memory error when trying to merge transactions and articles dataframe. Can someone please help!</p>",
  "messages": [
    {
      "id": "1723226",
      "postDate": "03/15/2022 08:35:56",
      "content": "<p>Getting memory error when trying to merge transactions and articles dataframe. Can someone please help!</p>",
      "rawMarkdown": "Getting memory error when trying to merge transactions and articles dataframe. Can someone please help!",
      "votes": null
    },
    {
      "id": "1724312",
      "postDate": "03/16/2022 07:05:20",
      "content": "<p>Please provide your code and the error text.<br>\nOtherwise, it hard to guess.</p>",
      "rawMarkdown": "Please provide your code and the error text.\nOtherwise, it hard to guess.",
      "votes": null
    },
    {
      "id": "1726208",
      "postDate": "03/17/2022 18:47:44",
      "content": "<p>try to include only the needed columns from the articles DataFrame</p>",
      "rawMarkdown": "try to include only the needed columns from the articles DataFrame",
      "votes": null
    },
    {
      "id": "1727913",
      "postDate": "03/18/2022 12:45:46",
      "content": "<p>You can change the datatype of columns:<br>\n1- Convert <code>object</code> columns which has few unique values to <code>category</code>.<br>\n2- Numerical columns are (<code>int64</code> or <code>float64</code>) type by default, this consume a lot of memory, check the ranges of each numeric column and change to the appropriate type as per its range, please refer to the table <a href=\"https://www.w3resource.com/numpy/data-types.php\" target=\"_blank\">here</a></p>",
      "rawMarkdown": "You can change the datatype of columns:\n1- Convert `object` columns which has few unique values to `category`.\n2- Numerical columns are (`int64` or `float64`) type by default, this consume a lot of memory, check the ranges of each numeric column and change to the appropriate type as per its range, please refer to the table [here](https://www.w3resource.com/numpy/data-types.php)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1724312,
      "author_name": "zoubairkachri",
      "author_url": "",
      "post_date": "03/16/2022 07:05:20",
      "content": "<p>Please provide your code and the error text.<br>\nOtherwise, it hard to guess.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1726208,
      "author_name": "ayman3000",
      "author_url": "",
      "post_date": "03/17/2022 18:47:44",
      "content": "<p>try to include only the needed columns from the articles DataFrame</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1727913,
      "author_name": "naelaqel",
      "author_url": "",
      "post_date": "03/18/2022 12:45:46",
      "content": "<p>You can change the datatype of columns:<br>\n1- Convert <code>object</code> columns which has few unique values to <code>category</code>.<br>\n2- Numerical columns are (<code>int64</code> or <code>float64</code>) type by default, this consume a lot of memory, check the ranges of each numeric column and change to the appropriate type as per its range, please refer to the table <a href=\"https://www.w3resource.com/numpy/data-types.php\" target=\"_blank\">here</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1723226": "Getting memory error when trying to merge transactions and articles dataframe. Can someone please help!",
    "1724312": "Please provide your code and the error text.\nOtherwise, it hard to guess.",
    "1726208": "try to include only the needed columns from the articles DataFrame",
    "1727913": "You can change the datatype of columns:\n1- Convert `object` columns which has few unique values to `category`.\n2- Numerical columns are (`int64` or `float64`) type by default, this consume a lot of memory, check the ranges of each numeric column and change to the appropriate type as per its range, please refer to the table [here](https://www.w3resource.com/numpy/data-types.php)"
  },
  "source": "meta"
}