{"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 sweetviz","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2022-10-20T05:11:12.069248Z","iopub.execute_input":"2022-10-20T05:11:12.069757Z","iopub.status.idle":"2022-10-20T05:11:23.234117Z","shell.execute_reply.started":"2022-10-20T05:11:12.069659Z","shell.execute_reply":"2022-10-20T05:11:23.232838Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"import pandas as pd\nimport sweetviz as sv","metadata":{"execution":{"iopub.status.busy":"2022-10-20T05:11:23.236522Z","iopub.execute_input":"2022-10-20T05:11:23.236915Z","iopub.status.idle":"2022-10-20T05:11:23.807067Z","shell.execute_reply.started":"2022-10-20T05:11:23.236873Z","shell.execute_reply":"2022-10-20T05:11:23.805836Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df1 = pd.read_csv(\"../input/titanic/train.csv\")\nreport1 = sv.analyze(df1,target_feat='Survived')\nreport1.show_html('Report1.html')","metadata":{"execution":{"iopub.status.busy":"2022-10-20T05:11:33.339082Z","iopub.execute_input":"2022-10-20T05:11:33.339550Z","iopub.status.idle":"2022-10-20T05:11:38.928637Z","shell.execute_reply.started":"2022-10-20T05:11:33.339510Z","shell.execute_reply":"2022-10-20T05:11:38.926964Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df2 = pd.read_csv(\"../input/titanic/test.csv\")\nreport2 = sv.compare([df1, \"Train\"], [df2, \"Test\"])\nreport2.show_html('Report2.html')","metadata":{"execution":{"iopub.status.busy":"2022-10-20T05:13:49.958347Z","iopub.execute_input":"2022-10-20T05:13:49.958796Z","iopub.status.idle":"2022-10-20T05:13:56.246540Z","shell.execute_reply.started":"2022-10-20T05:13:49.958759Z","shell.execute_reply":"2022-10-20T05:13:56.245387Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df3 = pd.read_csv(\"../input/tabular-playground-series-oct-2022/train_0.csv\")\nreport3 = sv.analyze(df3)\nreport3.show_html('Report3.html')","metadata":{"execution":{"iopub.status.busy":"2022-10-20T05:15:32.657267Z","iopub.execute_input":"2022-10-20T05:15:32.657725Z","iopub.status.idle":"2022-10-20T05:27:19.092770Z","shell.execute_reply.started":"2022-10-20T05:15:32.657689Z","shell.execute_reply":"2022-10-20T05:27:19.091285Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}