{
  "id": 317768,
  "title": "Faster Apply method in CUDF",
  "url": "/competitions/h-and-m-personalized-fashion-recommendations/discussion/317768",
  "author_name": "Devansh Chowdhury",
  "post_date": "2022-04-08T17:19:05.797000",
  "votes": 5,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Let say i have a dataframe ready with customer id and article ids in submission format ready but some of the article ids have less than 12 entry .So ofcourse i should add some article as that would make the score better (lets say i add article id 20 21 22 .. where space is due) ,but that's were the issue lies.I have to check if the article i want to add is already present or not and then add .It takes cudf apply too much time to do the operation maybe i am using a long method or different function ,but there should be a faster way to do this for sure.</p>",
  "messages": [
    {
      "id": 1749539,
      "postDate": "2022-04-08T17:19:05.797Z",
      "content": "<p>Let say i have a dataframe ready with customer id and article ids in submission format ready but some of the article ids have less than 12 entry .So ofcourse i should add some article as that would make the score better (lets say i add article id 20 21 22 .. where space is due) ,but that's were the issue lies.I have to check if the article i want to add is already present or not and then add .It takes cudf apply too much time to do the operation maybe i am using a long method or different function ,but there should be a faster way to do this for sure.</p>",
      "rawMarkdown": "Let say i have a dataframe ready with customer id and article ids in submission format ready but some of the article ids have less than 12 entry .So ofcourse i should add some article as that would make the score better (lets say i add article id 20 21 22 .. where space is due) ,but that's were the issue lies.I have to check if the article i want to add is already present or not and then add .It takes cudf apply too much time to do the operation maybe i am using a long method or different function ,but there should be a faster way to do this for sure.",
      "votes": 5
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1749539": "Let say i have a dataframe ready with customer id and article ids in submission format ready but some of the article ids have less than 12 entry .So ofcourse i should add some article as that would make the score better (lets say i add article id 20 21 22 .. where space is due) ,but that's were the issue lies.I have to check if the article i want to add is already present or not and then add .It takes cudf apply too much time to do the operation maybe i am using a long method or different function ,but there should be a faster way to do this for sure."
  }
}