{"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-18T18:28:12.645881Z","iopub.execute_input":"2023-01-18T18:28:12.647335Z","iopub.status.idle":"2023-01-18T18:28:12.653775Z","shell.execute_reply.started":"2023-01-18T18:28:12.647274Z","shell.execute_reply":"2023-01-18T18:28:12.652551Z"},"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-18T18:28:12.660573Z","iopub.execute_input":"2023-01-18T18:28:12.661998Z","iopub.status.idle":"2023-01-18T18:28:12.670470Z","shell.execute_reply.started":"2023-01-18T18:28:12.661917Z","shell.execute_reply":"2023-01-18T18:28:12.669103Z"},"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-18T18:28:12.673130Z","iopub.execute_input":"2023-01-18T18:28:12.673844Z","iopub.status.idle":"2023-01-18T18:28:25.031846Z","shell.execute_reply.started":"2023-01-18T18:28:12.673791Z","shell.execute_reply":"2023-01-18T18:28:25.030104Z"},"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-18T18:28:25.034809Z","iopub.execute_input":"2023-01-18T18:28:25.035348Z","iopub.status.idle":"2023-01-18T18:28:25.090177Z","shell.execute_reply.started":"2023-01-18T18:28:25.035306Z","shell.execute_reply":"2023-01-18T18:28:25.088546Z"},"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-18T18:28:25.091827Z","iopub.execute_input":"2023-01-18T18:28:25.092261Z","iopub.status.idle":"2023-01-18T18:28:25.107466Z","shell.execute_reply.started":"2023-01-18T18:28:25.092224Z","shell.execute_reply":"2023-01-18T18:28:25.105692Z"},"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-18T18:28:25.111615Z","iopub.execute_input":"2023-01-18T18:28:25.112702Z","iopub.status.idle":"2023-01-18T18:28:25.185723Z","shell.execute_reply.started":"2023-01-18T18:28:25.112640Z","shell.execute_reply":"2023-01-18T18:28:25.184219Z"},"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-18T18:28:25.188489Z","iopub.execute_input":"2023-01-18T18:28:25.189163Z","iopub.status.idle":"2023-01-18T18:28:25.208877Z","shell.execute_reply.started":"2023-01-18T18:28:25.189106Z","shell.execute_reply":"2023-01-18T18:28:25.207216Z"},"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-18T18:28:25.211265Z","iopub.execute_input":"2023-01-18T18:28:25.211829Z","iopub.status.idle":"2023-01-18T18:28:25.450103Z","shell.execute_reply.started":"2023-01-18T18:28:25.211776Z","shell.execute_reply":"2023-01-18T18:28:25.448613Z"},"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.506750","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-18T18:28:25.451655Z","iopub.execute_input":"2023-01-18T18:28:25.452069Z","iopub.status.idle":"2023-01-18T18:28:25.502520Z","shell.execute_reply.started":"2023-01-18T18:28:25.452030Z","shell.execute_reply":"2023-01-18T18:28:25.501264Z"},"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-18T18:28:25.504072Z","iopub.execute_input":"2023-01-18T18:28:25.504481Z","iopub.status.idle":"2023-01-18T18:28:40.810623Z","shell.execute_reply.started":"2023-01-18T18:28:25.504442Z","shell.execute_reply":"2023-01-18T18:28:40.809424Z"},"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-18T18:28:40.812766Z","iopub.execute_input":"2023-01-18T18:28:40.813797Z","iopub.status.idle":"2023-01-18T18:29:08.737397Z","shell.execute_reply.started":"2023-01-18T18:28:40.813727Z","shell.execute_reply":"2023-01-18T18:29:08.736073Z"},"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-18T18:29:08.742005Z","iopub.execute_input":"2023-01-18T18:29:08.742421Z","iopub.status.idle":"2023-01-18T18:29:20.825724Z","shell.execute_reply.started":"2023-01-18T18:29:08.742389Z","shell.execute_reply":"2023-01-18T18:29:20.824230Z"},"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-18T18:29:20.828390Z","iopub.execute_input":"2023-01-18T18:29:20.828833Z","iopub.status.idle":"2023-01-18T18:29:20.859272Z","shell.execute_reply.started":"2023-01-18T18:29:20.828793Z","shell.execute_reply":"2023-01-18T18:29:20.857983Z"},"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.753710","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-18T18:29:20.862155Z","iopub.execute_input":"2023-01-18T18:29:20.863109Z","iopub.status.idle":"2023-01-18T18:29:21.737718Z","shell.execute_reply.started":"2023-01-18T18:29:20.863044Z","shell.execute_reply":"2023-01-18T18:29:21.736714Z"},"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-18T18:29:21.739208Z","iopub.execute_input":"2023-01-18T18:29:21.740351Z","iopub.status.idle":"2023-01-18T18:29:22.317016Z","shell.execute_reply.started":"2023-01-18T18:29:21.740307Z","shell.execute_reply":"2023-01-18T18:29:22.315591Z"},"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-18T18:29:22.318808Z","iopub.execute_input":"2023-01-18T18:29:22.319228Z","iopub.status.idle":"2023-01-18T18:29:23.461418Z","shell.execute_reply.started":"2023-01-18T18:29:22.319193Z","shell.execute_reply":"2023-01-18T18:29:23.460034Z"},"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-18T18:29:23.463094Z","iopub.execute_input":"2023-01-18T18:29:23.463490Z","iopub.status.idle":"2023-01-18T18:29:23.503425Z","shell.execute_reply.started":"2023-01-18T18:29:23.463456Z","shell.execute_reply":"2023-01-18T18:29:23.502107Z"},"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-18T18:29:23.505254Z","iopub.execute_input":"2023-01-18T18:29:23.505660Z","iopub.status.idle":"2023-01-18T18:29:23.530196Z","shell.execute_reply.started":"2023-01-18T18:29:23.505628Z","shell.execute_reply":"2023-01-18T18:29:23.528840Z"},"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-18T18:29:23.532224Z","iopub.execute_input":"2023-01-18T18:29:23.533042Z","iopub.status.idle":"2023-01-18T18:29:23.651922Z","shell.execute_reply.started":"2023-01-18T18:29:23.532990Z","shell.execute_reply":"2023-01-18T18:29:23.650534Z"},"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-18T18:29:23.653655Z","iopub.execute_input":"2023-01-18T18:29:23.654059Z","iopub.status.idle":"2023-01-18T18:29:23.730555Z","shell.execute_reply.started":"2023-01-18T18:29:23.654025Z","shell.execute_reply":"2023-01-18T18:29:23.729226Z"},"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-18T18:29:23.732746Z","iopub.execute_input":"2023-01-18T18:29:23.733682Z","iopub.status.idle":"2023-01-18T18:29:37.623010Z","shell.execute_reply.started":"2023-01-18T18:29:23.733627Z","shell.execute_reply":"2023-01-18T18:29:37.621664Z"},"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-18T18:29:37.624598Z","iopub.execute_input":"2023-01-18T18:29:37.625013Z","iopub.status.idle":"2023-01-18T18:29:45.586699Z","shell.execute_reply.started":"2023-01-18T18:29:37.624976Z","shell.execute_reply":"2023-01-18T18:29:45.584848Z"},"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-18T18:29:45.589180Z","iopub.execute_input":"2023-01-18T18:29:45.589833Z","iopub.status.idle":"2023-01-18T18:29:57.679894Z","shell.execute_reply.started":"2023-01-18T18:29:45.589765Z","shell.execute_reply":"2023-01-18T18:29:57.678244Z"},"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-18T18:29:57.682595Z","iopub.execute_input":"2023-01-18T18:29:57.683118Z","iopub.status.idle":"2023-01-18T18:29:57.708767Z","shell.execute_reply.started":"2023-01-18T18:29:57.683071Z","shell.execute_reply":"2023-01-18T18:29:57.707361Z"},"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-18T18:29:57.710541Z","iopub.execute_input":"2023-01-18T18:29:57.711014Z","iopub.status.idle":"2023-01-18T18:29:58.524273Z","shell.execute_reply.started":"2023-01-18T18:29:57.710968Z","shell.execute_reply":"2023-01-18T18:29:58.523023Z"},"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-18T18:29:58.525919Z","iopub.execute_input":"2023-01-18T18:29:58.526328Z","iopub.status.idle":"2023-01-18T18:29:59.168904Z","shell.execute_reply.started":"2023-01-18T18:29:58.526294Z","shell.execute_reply":"2023-01-18T18:29:59.167585Z"},"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.602490","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-18T18:29:59.170448Z","iopub.execute_input":"2023-01-18T18:29:59.170855Z","iopub.status.idle":"2023-01-18T18:30:00.538961Z","shell.execute_reply.started":"2023-01-18T18:29:59.170811Z","shell.execute_reply":"2023-01-18T18:30:00.537430Z"},"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.794790","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-18T18:30:00.543081Z","iopub.execute_input":"2023-01-18T18:30:00.543658Z","iopub.status.idle":"2023-01-18T18:30:00.558184Z","shell.execute_reply.started":"2023-01-18T18:30:00.543606Z","shell.execute_reply":"2023-01-18T18:30:00.556758Z"},"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-18T18:30:00.560453Z","iopub.execute_input":"2023-01-18T18:30:00.560868Z","iopub.status.idle":"2023-01-18T18:30:00.576987Z","shell.execute_reply.started":"2023-01-18T18:30:00.560829Z","shell.execute_reply":"2023-01-18T18:30:00.575406Z"},"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-18T18:30:00.586625Z","iopub.execute_input":"2023-01-18T18:30:00.587332Z","iopub.status.idle":"2023-01-18T18:30:00.621157Z","shell.execute_reply.started":"2023-01-18T18:30:00.587278Z","shell.execute_reply":"2023-01-18T18:30:00.619737Z"},"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-18T18:30:00.622922Z","iopub.execute_input":"2023-01-18T18:30:00.623485Z","iopub.status.idle":"2023-01-18T18:30:00.645337Z","shell.execute_reply.started":"2023-01-18T18:30:00.623434Z","shell.execute_reply":"2023-01-18T18:30:00.644021Z"},"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-18T18:30:00.647129Z","iopub.execute_input":"2023-01-18T18:30:00.648377Z","iopub.status.idle":"2023-01-18T18:30:01.859489Z","shell.execute_reply.started":"2023-01-18T18:30:00.648324Z","shell.execute_reply":"2023-01-18T18:30:01.857994Z"},"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-18T18:30:01.861152Z","iopub.execute_input":"2023-01-18T18:30:01.861826Z","iopub.status.idle":"2023-01-18T18:30:06.074783Z","shell.execute_reply.started":"2023-01-18T18:30:01.861786Z","shell.execute_reply":"2023-01-18T18:30:06.073258Z"},"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-18T18:30:06.076615Z","iopub.execute_input":"2023-01-18T18:30:06.077093Z","iopub.status.idle":"2023-01-18T18:30:06.096398Z","shell.execute_reply.started":"2023-01-18T18:30:06.077057Z","shell.execute_reply":"2023-01-18T18:30:06.094935Z"},"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-18T18:30:06.098778Z","iopub.execute_input":"2023-01-18T18:30:06.099422Z","iopub.status.idle":"2023-01-18T18:30:13.617485Z","shell.execute_reply.started":"2023-01-18T18:30:06.099370Z","shell.execute_reply":"2023-01-18T18:30:13.616201Z"},"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.573270","status":"completed"},"tags":[],"execution":{"iopub.status.busy":"2023-01-18T18:30:13.619211Z","iopub.execute_input":"2023-01-18T18:30:13.619602Z","iopub.status.idle":"2023-01-18T18:30:13.635444Z","shell.execute_reply.started":"2023-01-18T18:30:13.619557Z","shell.execute_reply":"2023-01-18T18:30:13.634028Z"},"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-18T18:30:13.637445Z","iopub.execute_input":"2023-01-18T18:30:13.638358Z","iopub.status.idle":"2023-01-18T18:30:16.087570Z","shell.execute_reply.started":"2023-01-18T18:30:13.638307Z","shell.execute_reply":"2023-01-18T18:30:16.086063Z"},"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-18T18:30:16.089224Z","iopub.execute_input":"2023-01-18T18:30:16.089741Z","iopub.status.idle":"2023-01-18T18:30:16.117070Z","shell.execute_reply.started":"2023-01-18T18:30:16.089694Z","shell.execute_reply":"2023-01-18T18:30:16.116040Z"},"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-18T18:30:16.118647Z","iopub.execute_input":"2023-01-18T18:30:16.119119Z","iopub.status.idle":"2023-01-18T18:30:16.135627Z","shell.execute_reply.started":"2023-01-18T18:30:16.119077Z","shell.execute_reply":"2023-01-18T18:30:16.133977Z"},"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-18T18:30:16.137905Z","iopub.execute_input":"2023-01-18T18:30:16.138397Z","iopub.status.idle":"2023-01-18T18:30:16.154837Z","shell.execute_reply.started":"2023-01-18T18:30:16.138340Z","shell.execute_reply":"2023-01-18T18:30:16.153390Z"},"trusted":true},"execution_count":null,"outputs":[]}]}