瀏覽代碼

셀 출력 제거

ken 3 年之前
父節點
當前提交
982d35571d
共有 1 個文件被更改,包括 7 次插入48 次删除
  1. 7 48
      label_work.ipynb

+ 7 - 48
label_work.ipynb

@@ -40,7 +40,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 2,
+   "execution_count": null,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -58,7 +58,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 3,
+   "execution_count": null,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -84,7 +84,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 4,
+   "execution_count": null,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -105,7 +105,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 5,
+   "execution_count": null,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -126,53 +126,13 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 23,
+   "execution_count": null,
    "metadata": {},
-   "outputs": [
-    {
-     "name": "stdout",
-     "output_type": "stream",
-     "text": [
-      "data/video_label_m3/20210830_080618A.csv\n",
-      "data/video_label_m3/20211025_080015A.csv\n",
-      "data/video_label_m3/20211103_095316A.csv\n",
-      "data/video_label_m3/20211105_193120A.csv\n",
-      "data/video_label_m3/20211109_203305A.csv\n",
-      "data/video_label_m3/20211117_003420A.csv\n",
-      "data/video_label_m3/20211124_001105A.csv\n",
-      "timestamp\n",
-      "2021-08-30 08:06:00    0.0\n",
-      "2021-08-30 08:07:00    1.0\n",
-      "2021-08-30 08:08:00    1.0\n",
-      "2021-08-30 08:09:00    1.0\n",
-      "2021-08-30 08:10:00    1.0\n",
-      "                      ... \n",
-      "2021-11-30 11:34:00    0.0\n",
-      "2021-11-30 11:35:00    0.0\n",
-      "2021-11-30 11:36:00    0.0\n",
-      "2021-11-30 11:37:00    0.0\n",
-      "2021-11-30 11:38:00    0.0\n",
-      "Name: label, Length: 76909, dtype: float64\n"
-     ]
-    },
-    {
-     "name": "stderr",
-     "output_type": "stream",
-     "text": [
-      "/tmp/ipykernel_2529/4267765246.py:22: FutureWarning: Value based partial slicing on non-monotonic DatetimeIndexes with non-existing keys is deprecated and will raise a KeyError in a future Version.\n",
-      "  df_label_a = df_label.loc['2021-08-30 08:00': '2021-09-16 18:00'].resample(rule='T').max().fillna(value=0).copy()\n",
-      "/tmp/ipykernel_2529/4267765246.py:23: FutureWarning: Value based partial slicing on non-monotonic DatetimeIndexes with non-existing keys is deprecated and will raise a KeyError in a future Version.\n",
-      "  df_label_b = df_label.loc['2021-10-25 08:00': '2021-11-04 04:00'].resample(rule='T').max().fillna(value=0).copy()\n",
-      "/tmp/ipykernel_2529/4267765246.py:25: FutureWarning: Value based partial slicing on non-monotonic DatetimeIndexes with non-existing keys is deprecated and will raise a KeyError in a future Version.\n",
-      "  df_label_c = df_label.loc['2021-11-05 19:00': '2021-12-02 00:00'].resample(rule='T').max().fillna(value=0).copy()\n"
-     ]
-    }
-   ],
+   "outputs": [],
    "source": [
     "# read and merge label\n",
     "# \"20211105_193120A.mp4\" 동영상 부터 Time Sink 조절 필요\n",
     "# time stamp 가 실제 시간보다 약 36시간 22분 빠름\n",
-    "\n",
     "import glob\n",
     "\n",
     "def my_read(fn):\n",
@@ -203,8 +163,7 @@
     "df_label = df_label['label']\n",
     "print(df_label)\n",
     "df_data = df_m3.join(df_label)\n",
-    "df_data.to_csv('data/df_data.csv')\n",
-    "# df_label.to_csv('data/dfs.csv')"
+    "df_data.to_csv('data/df_data.csv')"
    ]
   }
  ],