{"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":"!pip install fasteda","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2022-12-05T22:37:13.840433Z","iopub.execute_input":"2022-12-05T22:37:13.840947Z","iopub.status.idle":"2022-12-05T22:37:29.333221Z","shell.execute_reply.started":"2022-12-05T22:37:13.840847Z","shell.execute_reply":"2022-12-05T22:37:29.331740Z"},"_kg_hide-output":true,"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"### Link to fasteda github repo: https://github.com/Matt-OP/fasteda\nA python module that provides a quick way to overview a DataFrame.","metadata":{}},{"cell_type":"code","source":"from fasteda import fast_eda\nimport pandas as pd","metadata":{"execution":{"iopub.status.busy":"2022-12-05T22:38:03.108189Z","iopub.execute_input":"2022-12-05T22:38:03.108613Z","iopub.status.idle":"2022-12-05T22:38:03.789243Z","shell.execute_reply.started":"2022-12-05T22:38:03.108575Z","shell.execute_reply":"2022-12-05T22:38:03.787969Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train_player = pd.read_csv(\"/kaggle/input/nfl-player-contact-detection/train_player_tracking.csv\")\ntest_player = pd.read_csv(\"/kaggle/input/nfl-player-contact-detection/test_player_tracking.csv\")\n\ntrain_baseline = pd.read_csv(\"/kaggle/input/nfl-player-contact-detection/train_baseline_helmets.csv\")\ntest_baseline = pd.read_csv(\"/kaggle/input/nfl-player-contact-detection/test_baseline_helmets.csv\")\n\ntrain_labels = pd.read_csv(\"/kaggle/input/nfl-player-contact-detection/train_labels.csv\")","metadata":{"execution":{"iopub.status.busy":"2022-12-05T22:53:15.871800Z","iopub.execute_input":"2022-12-05T22:53:15.872231Z","iopub.status.idle":"2022-12-05T22:53:32.782278Z","shell.execute_reply.started":"2022-12-05T22:53:15.872193Z","shell.execute_reply":"2022-12-05T22:53:32.780820Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## train_player_tracking.csv","metadata":{}},{"cell_type":"code","source":"fast_eda(train_player)","metadata":{"execution":{"iopub.status.busy":"2022-12-05T22:39:05.990512Z","iopub.execute_input":"2022-12-05T22:39:05.990889Z","iopub.status.idle":"2022-12-05T22:40:45.579131Z","shell.execute_reply.started":"2022-12-05T22:39:05.990858Z","shell.execute_reply":"2022-12-05T22:40:45.578172Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## test_player_tracking.csv","metadata":{}},{"cell_type":"code","source":"fast_eda(test_player)","metadata":{"execution":{"iopub.status.busy":"2022-12-05T22:41:52.708157Z","iopub.execute_input":"2022-12-05T22:41:52.708571Z","iopub.status.idle":"2022-12-05T22:42:00.429701Z","shell.execute_reply.started":"2022-12-05T22:41:52.708529Z","shell.execute_reply":"2022-12-05T22:42:00.428535Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## train_baseline_helmets.csv","metadata":{}},{"cell_type":"code","source":"fast_eda(train_baseline, pairplot = False)","metadata":{"execution":{"iopub.status.busy":"2022-12-05T22:46:42.294690Z","iopub.execute_input":"2022-12-05T22:46:42.295406Z","iopub.status.idle":"2022-12-05T22:49:00.299796Z","shell.execute_reply.started":"2022-12-05T22:46:42.295360Z","shell.execute_reply":"2022-12-05T22:49:00.298502Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## test_baseline_helmets.csv","metadata":{}},{"cell_type":"code","source":"fast_eda(test_baseline, pairplot = True)","metadata":{"execution":{"iopub.status.busy":"2022-12-05T23:00:13.137825Z","iopub.execute_input":"2022-12-05T23:00:13.138251Z","iopub.status.idle":"2022-12-05T23:00:36.738588Z","shell.execute_reply.started":"2022-12-05T23:00:13.138218Z","shell.execute_reply":"2022-12-05T23:00:36.737242Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## train_labels.csv","metadata":{}},{"cell_type":"code","source":"fast_eda(train_labels, correlation = False, pairplot = False, target = \"contact\")","metadata":{"execution":{"iopub.status.busy":"2022-12-05T22:54:33.520452Z","iopub.execute_input":"2022-12-05T22:54:33.520923Z","iopub.status.idle":"2022-12-05T22:55:25.472587Z","shell.execute_reply.started":"2022-12-05T22:54:33.520884Z","shell.execute_reply":"2022-12-05T22:55:25.471255Z"},"trusted":true},"execution_count":null,"outputs":[]}]}