{
  "id": 341842,
  "title": "TypeError: No matching signature found",
  "url": "/competitions/amex-default-prediction/discussion/341842",
  "author_name": "",
  "post_date": "2022-08-04T13:13:18.008153700Z",
  "votes": 1,
  "comment_count": 1,
  "views": 0,
  "content": "<p>I am trying to fill in values using:</p>\n<p>for num in num_columns:<br>\n    train_data[num] = train_data[num].fillna(method=\"ffill\")</p>\n<p>for cat in cat_columns:<br>\n    train_data[cat] = train_data[cat].fillna(method=\"ffill\")</p>\n<p>But I get the error</p>\n<p>TypeError: No matching signature found</p>\n<p>Anyone who can help me.</p>",
  "messages": [
    {
      "id": "1884501",
      "postDate": "08/04/2022 13:13:18",
      "content": "<p>I am trying to fill in values using:</p>\n<p>for num in num_columns:<br>\n    train_data[num] = train_data[num].fillna(method=\"ffill\")</p>\n<p>for cat in cat_columns:<br>\n    train_data[cat] = train_data[cat].fillna(method=\"ffill\")</p>\n<p>But I get the error</p>\n<p>TypeError: No matching signature found</p>\n<p>Anyone who can help me.</p>",
      "rawMarkdown": "I am trying to fill in values using:\n\nfor num in num_columns:\n    train_data[num] = train_data[num].fillna(method=\"ffill\")\n    \nfor cat in cat_columns:\n    train_data[cat] = train_data[cat].fillna(method=\"ffill\")\n\nBut I get the error\n\nTypeError: No matching signature found\n\nAnyone who can help me.",
      "votes": null
    },
    {
      "id": "1884508",
      "postDate": "08/04/2022 13:20:34",
      "content": "<p>I just solved it by changing the data type from float16 to float32.</p>",
      "rawMarkdown": "I just solved it by changing the data type from float16 to float32.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1884508,
      "author_name": "hiba007",
      "author_url": "",
      "post_date": "08/04/2022 13:20:34",
      "content": "<p>I just solved it by changing the data type from float16 to float32.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1884501": "I am trying to fill in values using:\n\nfor num in num_columns:\n    train_data[num] = train_data[num].fillna(method=\"ffill\")\n    \nfor cat in cat_columns:\n    train_data[cat] = train_data[cat].fillna(method=\"ffill\")\n\nBut I get the error\n\nTypeError: No matching signature found\n\nAnyone who can help me.",
    "1884508": "I just solved it by changing the data type from float16 to float32."
  },
  "source": "meta"
}