{"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 basic libraries\nimport numpy as np \nimport pandas as pd \nimport matplotlib.pyplot as plt\nimport seaborn as sns\nimport os","metadata":{"_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","papermill":{"duration":0.803912,"end_time":"2022-12-29T16:25:57.632401","exception":false,"start_time":"2022-12-29T16:25:56.828489","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:12:57.323632Z","iopub.execute_input":"2023-01-31T03:12:57.324188Z","iopub.status.idle":"2023-01-31T03:12:58.159382Z","shell.execute_reply.started":"2023-01-31T03:12:57.324101Z","shell.execute_reply":"2023-01-31T03:12:58.158486Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# List files available\nprint(os.listdir(\"../input/\"))","metadata":{"papermill":{"duration":0.018954,"end_time":"2022-12-29T16:25:57.659143","exception":false,"start_time":"2022-12-29T16:25:57.640189","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:12:58.160659Z","iopub.execute_input":"2023-01-31T03:12:58.160925Z","iopub.status.idle":"2023-01-31T03:12:58.165349Z","shell.execute_reply.started":"2023-01-31T03:12:58.160902Z","shell.execute_reply":"2023-01-31T03:12:58.164451Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# Installing and loading the library\n!pip install dabl\n\n\nimport dabl\n","metadata":{"papermill":{"duration":13.353646,"end_time":"2022-12-29T16:26:11.020594","exception":false,"start_time":"2022-12-29T16:25:57.666948","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:12:58.166425Z","iopub.execute_input":"2023-01-31T03:12:58.166648Z","iopub.status.idle":"2023-01-31T03:13:09.497656Z","shell.execute_reply.started":"2023-01-31T03:12:58.166627Z","shell.execute_reply":"2023-01-31T03:13:09.496864Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"\nsample_df = pd.read_csv('/kaggle/input/nfl-player-contact-detection/sample_submission.csv')\n\n# A first look at data\nsample_df.shape","metadata":{"papermill":{"duration":0.073303,"end_time":"2022-12-29T16:26:11.104257","exception":false,"start_time":"2022-12-29T16:26:11.030954","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:09.499996Z","iopub.execute_input":"2023-01-31T03:13:09.500322Z","iopub.status.idle":"2023-01-31T03:13:09.567836Z","shell.execute_reply.started":"2023-01-31T03:13:09.500287Z","shell.execute_reply":"2023-01-31T03:13:09.566974Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sample_df.head()","metadata":{"papermill":{"duration":0.025361,"end_time":"2022-12-29T16:26:11.138485","exception":false,"start_time":"2022-12-29T16:26:11.113124","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:09.568978Z","iopub.execute_input":"2023-01-31T03:13:09.569320Z","iopub.status.idle":"2023-01-31T03:13:09.583043Z","shell.execute_reply.started":"2023-01-31T03:13:09.569289Z","shell.execute_reply":"2023-01-31T03:13:09.582082Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"helmets_df = pd.read_csv('/kaggle/input/nfl-player-contact-detection/test_baseline_helmets.csv')\n\n# A first look at data\nhelmets_df.shape","metadata":{"papermill":{"duration":0.10737,"end_time":"2022-12-29T16:26:11.254832","exception":false,"start_time":"2022-12-29T16:26:11.147462","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:09.584023Z","iopub.execute_input":"2023-01-31T03:13:09.584457Z","iopub.status.idle":"2023-01-31T03:13:09.675756Z","shell.execute_reply.started":"2023-01-31T03:13:09.584432Z","shell.execute_reply":"2023-01-31T03:13:09.675015Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"helmets_df.head()","metadata":{"papermill":{"duration":0.025414,"end_time":"2022-12-29T16:26:11.289347","exception":false,"start_time":"2022-12-29T16:26:11.263933","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:09.677688Z","iopub.execute_input":"2023-01-31T03:13:09.678012Z","iopub.status.idle":"2023-01-31T03:13:09.689631Z","shell.execute_reply.started":"2023-01-31T03:13:09.677981Z","shell.execute_reply":"2023-01-31T03:13:09.688847Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"helmets_df_clean = dabl.clean(helmets_df, verbose=1)","metadata":{"papermill":{"duration":0.197746,"end_time":"2022-12-29T16:26:11.496224","exception":false,"start_time":"2022-12-29T16:26:11.298478","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:09.690948Z","iopub.execute_input":"2023-01-31T03:13:09.691254Z","iopub.status.idle":"2023-01-31T03:13:09.878036Z","shell.execute_reply.started":"2023-01-31T03:13:09.691224Z","shell.execute_reply":"2023-01-31T03:13:09.877149Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"types = dabl.detect_types(helmets_df_clean)\nprint(types) ","metadata":{"papermill":{"duration":0.053553,"end_time":"2022-12-29T16:26:11.560303","exception":false,"start_time":"2022-12-29T16:26:11.50675","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:09.878940Z","iopub.execute_input":"2023-01-31T03:13:09.879252Z","iopub.status.idle":"2023-01-31T03:13:09.918196Z","shell.execute_reply.started":"2023-01-31T03:13:09.879226Z","shell.execute_reply":"2023-01-31T03:13:09.917433Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"dabl.plot(helmets_df, target_col=\"game_play\")","metadata":{"papermill":{"duration":11.69238,"end_time":"2022-12-29T16:26:23.262273","exception":false,"start_time":"2022-12-29T16:26:11.569893","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:09.923180Z","iopub.execute_input":"2023-01-31T03:13:09.923489Z","iopub.status.idle":"2023-01-31T03:13:18.158482Z","shell.execute_reply.started":"2023-01-31T03:13:09.923463Z","shell.execute_reply":"2023-01-31T03:13:18.157615Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"ec = dabl.SimpleClassifier(random_state=0).fit(helmets_df, target_col=\"game_play\")","metadata":{"papermill":{"duration":21.913914,"end_time":"2022-12-29T16:26:45.199403","exception":false,"start_time":"2022-12-29T16:26:23.285489","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:18.159566Z","iopub.execute_input":"2023-01-31T03:13:18.159953Z","iopub.status.idle":"2023-01-31T03:13:34.543501Z","shell.execute_reply.started":"2023-01-31T03:13:18.159930Z","shell.execute_reply":"2023-01-31T03:13:34.542502Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# installation and importing the library\n!pip install missingno\nimport missingno as msno","metadata":{"papermill":{"duration":9.43432,"end_time":"2022-12-29T16:26:54.656517","exception":false,"start_time":"2022-12-29T16:26:45.222197","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:34.544800Z","iopub.execute_input":"2023-01-31T03:13:34.545092Z","iopub.status.idle":"2023-01-31T03:13:42.840958Z","shell.execute_reply.started":"2023-01-31T03:13:34.545067Z","shell.execute_reply":"2023-01-31T03:13:42.839938Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# Let's check out the missing values first with the test.info() method\nhelmets_df.info()","metadata":{"papermill":{"duration":0.05109,"end_time":"2022-12-29T16:26:54.730548","exception":false,"start_time":"2022-12-29T16:26:54.679458","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:42.842311Z","iopub.execute_input":"2023-01-31T03:13:42.842611Z","iopub.status.idle":"2023-01-31T03:13:42.866627Z","shell.execute_reply.started":"2023-01-31T03:13:42.842583Z","shell.execute_reply":"2023-01-31T03:13:42.865561Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"msno.matrix(helmets_df)","metadata":{"papermill":{"duration":0.711734,"end_time":"2022-12-29T16:26:55.465444","exception":false,"start_time":"2022-12-29T16:26:54.75371","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:42.868158Z","iopub.execute_input":"2023-01-31T03:13:42.868532Z","iopub.status.idle":"2023-01-31T03:13:43.281382Z","shell.execute_reply.started":"2023-01-31T03:13:42.868499Z","shell.execute_reply":"2023-01-31T03:13:43.280529Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"msno.matrix(helmets_df.sample(50))","metadata":{"papermill":{"duration":0.500855,"end_time":"2022-12-29T16:26:55.992783","exception":false,"start_time":"2022-12-29T16:26:55.491928","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:43.282632Z","iopub.execute_input":"2023-01-31T03:13:43.282994Z","iopub.status.idle":"2023-01-31T03:13:43.573266Z","shell.execute_reply.started":"2023-01-31T03:13:43.282962Z","shell.execute_reply":"2023-01-31T03:13:43.572596Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"msno.bar(helmets_df)","metadata":{"papermill":{"duration":1.295535,"end_time":"2022-12-29T16:26:57.314039","exception":false,"start_time":"2022-12-29T16:26:56.018504","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:43.574476Z","iopub.execute_input":"2023-01-31T03:13:43.574955Z","iopub.status.idle":"2023-01-31T03:13:44.168651Z","shell.execute_reply.started":"2023-01-31T03:13:43.574927Z","shell.execute_reply":"2023-01-31T03:13:44.167928Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"player_df = pd.read_csv('/kaggle/input/nfl-player-contact-detection/test_player_tracking.csv')\n\n# A first look at data\nplayer_df.shape","metadata":{"papermill":{"duration":0.076087,"end_time":"2022-12-29T16:26:57.415308","exception":false,"start_time":"2022-12-29T16:26:57.339221","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:44.169973Z","iopub.execute_input":"2023-01-31T03:13:44.170454Z","iopub.status.idle":"2023-01-31T03:13:44.217745Z","shell.execute_reply.started":"2023-01-31T03:13:44.170426Z","shell.execute_reply":"2023-01-31T03:13:44.217177Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"player_df.head()","metadata":{"papermill":{"duration":0.048071,"end_time":"2022-12-29T16:26:57.488028","exception":false,"start_time":"2022-12-29T16:26:57.439957","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:44.218797Z","iopub.execute_input":"2023-01-31T03:13:44.219214Z","iopub.status.idle":"2023-01-31T03:13:44.236473Z","shell.execute_reply.started":"2023-01-31T03:13:44.219191Z","shell.execute_reply":"2023-01-31T03:13:44.235941Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"player_df_clean = dabl.clean(player_df, verbose=1)","metadata":{"papermill":{"duration":0.118716,"end_time":"2022-12-29T16:26:57.631614","exception":false,"start_time":"2022-12-29T16:26:57.512898","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:44.237659Z","iopub.execute_input":"2023-01-31T03:13:44.237906Z","iopub.status.idle":"2023-01-31T03:13:44.321633Z","shell.execute_reply.started":"2023-01-31T03:13:44.237884Z","shell.execute_reply":"2023-01-31T03:13:44.320656Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"types = dabl.detect_types(player_df_clean)\nprint(types) ","metadata":{"papermill":{"duration":0.085747,"end_time":"2022-12-29T16:26:57.742471","exception":false,"start_time":"2022-12-29T16:26:57.656724","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:44.324568Z","iopub.execute_input":"2023-01-31T03:13:44.324848Z","iopub.status.idle":"2023-01-31T03:13:44.378014Z","shell.execute_reply.started":"2023-01-31T03:13:44.324825Z","shell.execute_reply":"2023-01-31T03:13:44.376855Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"dabl.plot(player_df, target_col=\"game_play\")","metadata":{"papermill":{"duration":9.510082,"end_time":"2022-12-29T16:27:07.277507","exception":false,"start_time":"2022-12-29T16:26:57.767425","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:44.379207Z","iopub.execute_input":"2023-01-31T03:13:44.379675Z","iopub.status.idle":"2023-01-31T03:13:51.668218Z","shell.execute_reply.started":"2023-01-31T03:13:44.379642Z","shell.execute_reply":"2023-01-31T03:13:51.667311Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"ec = dabl.SimpleClassifier(random_state=0).fit(player_df, target_col=\"game_play\")","metadata":{"papermill":{"duration":6.544955,"end_time":"2022-12-29T16:27:13.856261","exception":false,"start_time":"2022-12-29T16:27:07.311306","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:51.669245Z","iopub.execute_input":"2023-01-31T03:13:51.669491Z","iopub.status.idle":"2023-01-31T03:13:56.154239Z","shell.execute_reply.started":"2023-01-31T03:13:51.669468Z","shell.execute_reply":"2023-01-31T03:13:56.153373Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# installation and importing the library\n!pip install missingno\nimport missingno as msno","metadata":{"papermill":{"duration":9.362663,"end_time":"2022-12-29T16:27:23.251505","exception":false,"start_time":"2022-12-29T16:27:13.888842","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:13:56.155652Z","iopub.execute_input":"2023-01-31T03:13:56.155980Z","iopub.status.idle":"2023-01-31T03:14:04.528969Z","shell.execute_reply.started":"2023-01-31T03:13:56.155950Z","shell.execute_reply":"2023-01-31T03:14:04.528203Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# Let's check out the missing values first with the test.info() method\nplayer_df.info()","metadata":{"papermill":{"duration":0.054527,"end_time":"2022-12-29T16:27:23.338353","exception":false,"start_time":"2022-12-29T16:27:23.283826","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:04.530213Z","iopub.execute_input":"2023-01-31T03:14:04.530563Z","iopub.status.idle":"2023-01-31T03:14:04.546866Z","shell.execute_reply.started":"2023-01-31T03:14:04.530533Z","shell.execute_reply":"2023-01-31T03:14:04.545944Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"msno.matrix(player_df)","metadata":{"papermill":{"duration":0.617465,"end_time":"2022-12-29T16:27:23.988023","exception":false,"start_time":"2022-12-29T16:27:23.370558","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:04.548349Z","iopub.execute_input":"2023-01-31T03:14:04.548790Z","iopub.status.idle":"2023-01-31T03:14:04.947573Z","shell.execute_reply.started":"2023-01-31T03:14:04.548756Z","shell.execute_reply":"2023-01-31T03:14:04.946668Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"msno.matrix(player_df.sample(50))","metadata":{"papermill":{"duration":0.545692,"end_time":"2022-12-29T16:27:24.568933","exception":false,"start_time":"2022-12-29T16:27:24.023241","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:04.948707Z","iopub.execute_input":"2023-01-31T03:14:04.949213Z","iopub.status.idle":"2023-01-31T03:14:05.283832Z","shell.execute_reply.started":"2023-01-31T03:14:04.949185Z","shell.execute_reply":"2023-01-31T03:14:05.283026Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"msno.bar(player_df)","metadata":{"papermill":{"duration":1.155108,"end_time":"2022-12-29T16:27:25.757598","exception":false,"start_time":"2022-12-29T16:27:24.60249","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:05.285015Z","iopub.execute_input":"2023-01-31T03:14:05.285269Z","iopub.status.idle":"2023-01-31T03:14:06.008384Z","shell.execute_reply.started":"2023-01-31T03:14:05.285247Z","shell.execute_reply":"2023-01-31T03:14:06.006422Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"metadata_df = pd.read_csv('/kaggle/input/nfl-player-contact-detection/test_video_metadata.csv')\n\n# A first look at data\nmetadata_df.shape","metadata":{"papermill":{"duration":0.049109,"end_time":"2022-12-29T16:27:25.843899","exception":false,"start_time":"2022-12-29T16:27:25.79479","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:06.013272Z","iopub.execute_input":"2023-01-31T03:14:06.013569Z","iopub.status.idle":"2023-01-31T03:14:06.025515Z","shell.execute_reply.started":"2023-01-31T03:14:06.013545Z","shell.execute_reply":"2023-01-31T03:14:06.024626Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"metadata_df.head()","metadata":{"papermill":{"duration":0.04975,"end_time":"2022-12-29T16:27:25.927377","exception":false,"start_time":"2022-12-29T16:27:25.877627","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:06.026769Z","iopub.execute_input":"2023-01-31T03:14:06.027046Z","iopub.status.idle":"2023-01-31T03:14:06.038086Z","shell.execute_reply.started":"2023-01-31T03:14:06.027023Z","shell.execute_reply":"2023-01-31T03:14:06.037250Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"metadata_df_clean = dabl.clean(metadata_df, verbose=1)","metadata":{"papermill":{"duration":0.062837,"end_time":"2022-12-29T16:27:26.023581","exception":false,"start_time":"2022-12-29T16:27:25.960744","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:06.039506Z","iopub.execute_input":"2023-01-31T03:14:06.039934Z","iopub.status.idle":"2023-01-31T03:14:06.069488Z","shell.execute_reply.started":"2023-01-31T03:14:06.039909Z","shell.execute_reply":"2023-01-31T03:14:06.068773Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"types = dabl.detect_types(metadata_df_clean)\nprint(types) ","metadata":{"papermill":{"duration":0.053444,"end_time":"2022-12-29T16:27:26.111227","exception":false,"start_time":"2022-12-29T16:27:26.057783","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:06.070551Z","iopub.execute_input":"2023-01-31T03:14:06.071023Z","iopub.status.idle":"2023-01-31T03:14:06.093864Z","shell.execute_reply.started":"2023-01-31T03:14:06.070995Z","shell.execute_reply":"2023-01-31T03:14:06.092970Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"dabl.plot(metadata_df, target_col=\"game_play\")","metadata":{"papermill":{"duration":0.993484,"end_time":"2022-12-29T16:27:27.138227","exception":false,"start_time":"2022-12-29T16:27:26.144743","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:06.094797Z","iopub.execute_input":"2023-01-31T03:14:06.095535Z","iopub.status.idle":"2023-01-31T03:14:06.767617Z","shell.execute_reply.started":"2023-01-31T03:14:06.095477Z","shell.execute_reply":"2023-01-31T03:14:06.766077Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"baseline_df1 = pd.read_csv('/kaggle/input/nfl-player-contact-detection/train_baseline_helmets.csv')\n\nbaseline_df1.shape","metadata":{"papermill":{"duration":6.194221,"end_time":"2022-12-29T16:27:33.368168","exception":false,"start_time":"2022-12-29T16:27:27.173947","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:06.768618Z","iopub.execute_input":"2023-01-31T03:14:06.768911Z","iopub.status.idle":"2023-01-31T03:14:12.994597Z","shell.execute_reply.started":"2023-01-31T03:14:06.768882Z","shell.execute_reply":"2023-01-31T03:14:12.993762Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"baseline_df1.head()","metadata":{"papermill":{"duration":0.053137,"end_time":"2022-12-29T16:27:33.456994","exception":false,"start_time":"2022-12-29T16:27:33.403857","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:12.995654Z","iopub.execute_input":"2023-01-31T03:14:12.995910Z","iopub.status.idle":"2023-01-31T03:14:13.008096Z","shell.execute_reply.started":"2023-01-31T03:14:12.995888Z","shell.execute_reply":"2023-01-31T03:14:13.007326Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"labels_df = pd.read_csv('/kaggle/input/nfl-player-contact-detection/train_labels.csv')\n\nlabels_df.shape","metadata":{"papermill":{"duration":9.045623,"end_time":"2022-12-29T16:27:42.537277","exception":false,"start_time":"2022-12-29T16:27:33.491654","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:13.009350Z","iopub.execute_input":"2023-01-31T03:14:13.009978Z","iopub.status.idle":"2023-01-31T03:14:21.340934Z","shell.execute_reply.started":"2023-01-31T03:14:13.009945Z","shell.execute_reply":"2023-01-31T03:14:21.340133Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"labels_df.head()","metadata":{"papermill":{"duration":0.057901,"end_time":"2022-12-29T16:27:42.631171","exception":false,"start_time":"2022-12-29T16:27:42.57327","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:21.341972Z","iopub.execute_input":"2023-01-31T03:14:21.342212Z","iopub.status.idle":"2023-01-31T03:14:21.352649Z","shell.execute_reply.started":"2023-01-31T03:14:21.342189Z","shell.execute_reply":"2023-01-31T03:14:21.351849Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"player_df1 = pd.read_csv('/kaggle/input/nfl-player-contact-detection/train_player_tracking.csv')\n\nplayer_df1.shape","metadata":{"papermill":{"duration":3.227792,"end_time":"2022-12-29T16:27:45.900134","exception":false,"start_time":"2022-12-29T16:27:42.672342","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:21.353716Z","iopub.execute_input":"2023-01-31T03:14:21.354597Z","iopub.status.idle":"2023-01-31T03:14:24.537426Z","shell.execute_reply.started":"2023-01-31T03:14:21.354564Z","shell.execute_reply":"2023-01-31T03:14:24.536548Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"player_df1.head()","metadata":{"papermill":{"duration":0.058673,"end_time":"2022-12-29T16:27:45.995155","exception":false,"start_time":"2022-12-29T16:27:45.936482","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:24.538500Z","iopub.execute_input":"2023-01-31T03:14:24.539438Z","iopub.status.idle":"2023-01-31T03:14:24.559271Z","shell.execute_reply.started":"2023-01-31T03:14:24.539402Z","shell.execute_reply":"2023-01-31T03:14:24.558347Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"metadata_df1 = pd.read_csv('/kaggle/input/nfl-player-contact-detection/train_video_metadata.csv')\n\nmetadata_df1.shape ","metadata":{"papermill":{"duration":0.053497,"end_time":"2022-12-29T16:27:46.084799","exception":false,"start_time":"2022-12-29T16:27:46.031302","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:24.560446Z","iopub.execute_input":"2023-01-31T03:14:24.560764Z","iopub.status.idle":"2023-01-31T03:14:24.579102Z","shell.execute_reply.started":"2023-01-31T03:14:24.560738Z","shell.execute_reply":"2023-01-31T03:14:24.577854Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"metadata_df1.head()","metadata":{"papermill":{"duration":0.052206,"end_time":"2022-12-29T16:27:46.172311","exception":false,"start_time":"2022-12-29T16:27:46.120105","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-31T03:14:24.580170Z","iopub.execute_input":"2023-01-31T03:14:24.580441Z","iopub.status.idle":"2023-01-31T03:14:24.591781Z","shell.execute_reply.started":"2023-01-31T03:14:24.580418Z","shell.execute_reply":"2023-01-31T03:14:24.590783Z"},"trusted":true},"execution_count":null,"outputs":[]}]}