{"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 pandas as pd\t\nimport numpy as np \t\nimport seaborn as sns\t\nfrom sklearn import preprocessing\t\nimport matplotlib.pyplot as plt\t\n%matplotlib inline\t\n","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2023-04-15T22:30:04.179198Z","iopub.execute_input":"2023-04-15T22:30:04.179556Z","iopub.status.idle":"2023-04-15T22:30:05.533676Z","shell.execute_reply.started":"2023-04-15T22:30:04.179484Z","shell.execute_reply":"2023-04-15T22:30:05.532659Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df=pd.read_csv('/kaggle/input/otto-recommender-system/sample_submission.csv')\n","metadata":{"execution":{"iopub.status.busy":"2023-04-15T22:30:05.535052Z","iopub.execute_input":"2023-04-15T22:30:05.535439Z","iopub.status.idle":"2023-04-15T22:30:12.434713Z","shell.execute_reply.started":"2023-04-15T22:30:05.535415Z","shell.execute_reply":"2023-04-15T22:30:12.433373Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print (df)\n","metadata":{"execution":{"iopub.status.busy":"2023-04-15T22:30:12.435995Z","iopub.execute_input":"2023-04-15T22:30:12.436239Z","iopub.status.idle":"2023-04-15T22:30:12.452608Z","shell.execute_reply.started":"2023-04-15T22:30:12.436216Z","shell.execute_reply":"2023-04-15T22:30:12.451264Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.head()\n","metadata":{"execution":{"iopub.status.busy":"2023-04-15T22:30:12.455218Z","iopub.execute_input":"2023-04-15T22:30:12.455528Z","iopub.status.idle":"2023-04-15T22:30:12.470609Z","shell.execute_reply.started":"2023-04-15T22:30:12.455502Z","shell.execute_reply":"2023-04-15T22:30:12.468940Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.shape\n","metadata":{"execution":{"iopub.status.busy":"2023-04-15T22:30:12.471834Z","iopub.execute_input":"2023-04-15T22:30:12.472127Z","iopub.status.idle":"2023-04-15T22:30:12.479055Z","shell.execute_reply.started":"2023-04-15T22:30:12.472102Z","shell.execute_reply":"2023-04-15T22:30:12.477622Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.dtypes\n","metadata":{"execution":{"iopub.status.busy":"2023-04-15T22:30:12.480713Z","iopub.execute_input":"2023-04-15T22:30:12.481463Z","iopub.status.idle":"2023-04-15T22:30:12.493624Z","shell.execute_reply.started":"2023-04-15T22:30:12.481428Z","shell.execute_reply":"2023-04-15T22:30:12.492137Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.isnull().sum()\n","metadata":{"execution":{"iopub.status.busy":"2023-04-15T22:30:12.495475Z","iopub.execute_input":"2023-04-15T22:30:12.495823Z","iopub.status.idle":"2023-04-15T22:30:12.852725Z","shell.execute_reply.started":"2023-04-15T22:30:12.495790Z","shell.execute_reply":"2023-04-15T22:30:12.851745Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.info()\n","metadata":{"execution":{"iopub.status.busy":"2023-04-15T22:30:12.853662Z","iopub.execute_input":"2023-04-15T22:30:12.854001Z","iopub.status.idle":"2023-04-15T22:30:12.877202Z","shell.execute_reply.started":"2023-04-15T22:30:12.853968Z","shell.execute_reply":"2023-04-15T22:30:12.875673Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.describe()\n","metadata":{"execution":{"iopub.status.busy":"2023-04-15T22:30:12.878774Z","iopub.execute_input":"2023-04-15T22:30:12.879178Z","iopub.status.idle":"2023-04-15T22:30:19.567275Z","shell.execute_reply.started":"2023-04-15T22:30:12.879144Z","shell.execute_reply":"2023-04-15T22:30:19.566035Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"c=df.corr()\nprint(c)\n","metadata":{"execution":{"iopub.status.busy":"2023-04-15T22:30:19.571109Z","iopub.execute_input":"2023-04-15T22:30:19.571444Z","iopub.status.idle":"2023-04-15T22:30:19.580357Z","shell.execute_reply.started":"2023-04-15T22:30:19.571419Z","shell.execute_reply":"2023-04-15T22:30:19.578939Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.to_csv(\"submission.csv\",index=False)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T22:30:19.582068Z","iopub.execute_input":"2023-04-15T22:30:19.582381Z","iopub.status.idle":"2023-04-15T22:30:26.175083Z","shell.execute_reply.started":"2023-04-15T22:30:19.582357Z","shell.execute_reply":"2023-04-15T22:30:26.174120Z"},"trusted":true},"execution_count":null,"outputs":[]}]}