{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import numpy as np\nimport pandas as pd \nimport matplotlib.pyplot as plt \nfrom path import Path\nimport os \nimport glob\nfrom tqdm import tqdm","metadata":{"execution":{"iopub.status.busy":"2022-07-30T02:31:25.854614Z","iopub.execute_input":"2022-07-30T02:31:25.855080Z","iopub.status.idle":"2022-07-30T02:31:25.895072Z","shell.execute_reply.started":"2022-07-30T02:31:25.854986Z","shell.execute_reply":"2022-07-30T02:31:25.894054Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train_df = pd.read_csv('../input/dfl-bundesliga-data-shootout/train.csv')\ntrain_df","metadata":{"execution":{"iopub.status.busy":"2022-07-30T02:31:31.258339Z","iopub.execute_input":"2022-07-30T02:31:31.258744Z","iopub.status.idle":"2022-07-30T02:31:31.314681Z","shell.execute_reply.started":"2022-07-30T02:31:31.258710Z","shell.execute_reply":"2022-07-30T02:31:31.313443Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train_names = []\nfor i in tqdm(os.listdir('../input/dfl-bundesliga-data-shootout/train')):\n    train_names+=[i.replace('.mp4', '')]","metadata":{"execution":{"iopub.status.busy":"2022-07-30T02:36:46.611635Z","iopub.execute_input":"2022-07-30T02:36:46.612062Z","iopub.status.idle":"2022-07-30T02:36:46.627191Z","shell.execute_reply.started":"2022-07-30T02:36:46.612026Z","shell.execute_reply":"2022-07-30T02:36:46.625867Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"clips_names = []\nfor i in tqdm(os.listdir('../input/dfl-bundesliga-data-shootout/clips')):\n    clips_names+=[i.replace('.mp4', '')]\n    ","metadata":{"execution":{"iopub.status.busy":"2022-07-30T02:34:26.972606Z","iopub.execute_input":"2022-07-30T02:34:26.973796Z","iopub.status.idle":"2022-07-30T02:34:26.984182Z","shell.execute_reply.started":"2022-07-30T02:34:26.973732Z","shell.execute_reply":"2022-07-30T02:34:26.983353Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"clips_names[0:5]","metadata":{"execution":{"iopub.status.busy":"2022-07-30T02:34:49.269264Z","iopub.execute_input":"2022-07-30T02:34:49.269670Z","iopub.status.idle":"2022-07-30T02:34:49.277634Z","shell.execute_reply.started":"2022-07-30T02:34:49.269638Z","shell.execute_reply":"2022-07-30T02:34:49.276826Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test_names = []\nfor i in tqdm(os.listdir('../input/dfl-bundesliga-data-shootout/test')):\n    test_names+=[i.replace('.mp4', '')]","metadata":{"execution":{"iopub.status.busy":"2022-07-30T02:37:17.624876Z","iopub.execute_input":"2022-07-30T02:37:17.625254Z","iopub.status.idle":"2022-07-30T02:37:17.642259Z","shell.execute_reply.started":"2022-07-30T02:37:17.625223Z","shell.execute_reply":"2022-07-30T02:37:17.641429Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission = pd.read_csv('../input/dfl-bundesliga-data-shootout/sample_submission.csv')\nsubmission","metadata":{"execution":{"iopub.status.busy":"2022-07-30T02:37:40.137178Z","iopub.execute_input":"2022-07-30T02:37:40.137573Z","iopub.status.idle":"2022-07-30T02:37:40.165070Z","shell.execute_reply.started":"2022-07-30T02:37:40.137541Z","shell.execute_reply":"2022-07-30T02:37:40.163877Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission.to_csv('submission.csv', index = 0)\n","metadata":{"execution":{"iopub.status.busy":"2022-07-30T02:38:12.368203Z","iopub.execute_input":"2022-07-30T02:38:12.368586Z","iopub.status.idle":"2022-07-30T02:38:12.377349Z","shell.execute_reply.started":"2022-07-30T02:38:12.368557Z","shell.execute_reply":"2022-07-30T02:38:12.376231Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}