{
  "id": 278804,
  "title": "plate_time is equal to elapsed_timedelta?",
  "url": "/competitions/sartorius-cell-instance-segmentation/discussion/278804",
  "author_name": "",
  "post_date": "2021-10-15T17:54:52.916444600Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Hi,<br>\nAre these two columns the same?</p>\n<pre><code>df_train.elapsed_timedelta = df_train.elapsed_timedelta.str[7:]\ndf_train.elapsed_timedelta = pd.to_datetime(df_train.elapsed_timedelta, format='%H:%M:%S').dt.time\ndf_train.plate_time = pd.to_datetime(df_train.plate_time, format='%Hh%Mm%Ss').dt.time\ndf_train.elapsed_timedelta.equals(df_train.plate_time)\n&gt;&gt;&gt;True\n</code></pre>",
  "messages": [
    {
      "id": "1545944",
      "postDate": "10/15/2021 17:54:52",
      "content": "<p>Hi,<br>\nAre these two columns the same?</p>\n<pre><code>df_train.elapsed_timedelta = df_train.elapsed_timedelta.str[7:]\ndf_train.elapsed_timedelta = pd.to_datetime(df_train.elapsed_timedelta, format='%H:%M:%S').dt.time\ndf_train.plate_time = pd.to_datetime(df_train.plate_time, format='%Hh%Mm%Ss').dt.time\ndf_train.elapsed_timedelta.equals(df_train.plate_time)\n&gt;&gt;&gt;True\n</code></pre>",
      "rawMarkdown": "Hi,\nAre these two columns the same?\n```\ndf_train.elapsed_timedelta = df_train.elapsed_timedelta.str[7:]\ndf_train.elapsed_timedelta = pd.to_datetime(df_train.elapsed_timedelta, format='%H:%M:%S').dt.time\ndf_train.plate_time = pd.to_datetime(df_train.plate_time, format='%Hh%Mm%Ss').dt.time\ndf_train.elapsed_timedelta.equals(df_train.plate_time)\n>>>True\n```",
      "votes": null
    },
    {
      "id": "1559779",
      "postDate": "10/27/2021 07:37:47",
      "content": "<p>Yeah, came across this one, too!</p>\n<p><strong>etd = df_train['elapsed_timedelta'].str[7:]</strong><br>\n<strong>pt = df_train[df_train['plate_time'] == etd]</strong><br>\n<strong>print(len(pt) == 0)</strong><br>\n<em>&gt;True</em></p>\n<p>Initially I thought her will be kind of a time series from initial plating ('plate time') over some days (since cells will divide and possibly change morphology). However, the columns appear to be redundant (and (in my opinion) naming actually does not make too much sense)</p>",
      "rawMarkdown": "Yeah, came across this one, too!\n\n\n**etd = df_train['elapsed_timedelta'].str[7:]**\n**pt = df_train[df_train['plate_time'] == etd]**\n**print(len(pt) == 0)**\n*>True*\n\nInitially I thought her will be kind of a time series from initial plating ('plate time') over some days (since cells will divide and possibly change morphology). However, the columns appear to be redundant (and (in my opinion) naming actually does not make too much sense)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1559779,
      "author_name": "ivoflorinscheiber",
      "author_url": "",
      "post_date": "10/27/2021 07:37:47",
      "content": "<p>Yeah, came across this one, too!</p>\n<p><strong>etd = df_train['elapsed_timedelta'].str[7:]</strong><br>\n<strong>pt = df_train[df_train['plate_time'] == etd]</strong><br>\n<strong>print(len(pt) == 0)</strong><br>\n<em>&gt;True</em></p>\n<p>Initially I thought her will be kind of a time series from initial plating ('plate time') over some days (since cells will divide and possibly change morphology). However, the columns appear to be redundant (and (in my opinion) naming actually does not make too much sense)</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1545944": "Hi,\nAre these two columns the same?\n```\ndf_train.elapsed_timedelta = df_train.elapsed_timedelta.str[7:]\ndf_train.elapsed_timedelta = pd.to_datetime(df_train.elapsed_timedelta, format='%H:%M:%S').dt.time\ndf_train.plate_time = pd.to_datetime(df_train.plate_time, format='%Hh%Mm%Ss').dt.time\ndf_train.elapsed_timedelta.equals(df_train.plate_time)\n>>>True\n```",
    "1559779": "Yeah, came across this one, too!\n\n\n**etd = df_train['elapsed_timedelta'].str[7:]**\n**pt = df_train[df_train['plate_time'] == etd]**\n**print(len(pt) == 0)**\n*>True*\n\nInitially I thought her will be kind of a time series from initial plating ('plate time') over some days (since cells will divide and possibly change morphology). However, the columns appear to be redundant (and (in my opinion) naming actually does not make too much sense)"
  },
  "source": "meta"
}