{"cells":[{"metadata":{"_uuid":"62ca9a19b10b29ff3f35321e2c20034510cdd140"},"cell_type":"markdown","source":"# EDA"},{"metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true},"cell_type":"code","source":"import numpy as np\nimport pandas as pd\nimport matplotlib.pyplot as plt\n%matplotlib inline","execution_count":null,"outputs":[]},{"metadata":{"_cell_guid":"79c7e3d0-c299-4dcb-8224-4455121ee9b0","_uuid":"d629ff2d2480ee46fbb7e2d37f6b5fab8052498a","trusted":true,"scrolled":true},"cell_type":"code","source":"df = pd.read_csv(\"../input/train.csv\")\n\n# Print the column labels\ndf.columns","execution_count":null,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"87bf6d972f5d48a3422172a6c8a7c1c9e880433d"},"cell_type":"code","source":"df.shape","execution_count":null,"outputs":[]},{"metadata":{"_uuid":"489afda31c6eb2a75b22fc106fd5c9ac3e003e22"},"cell_type":"markdown","source":"There are 891 entries and 12 columns.\nLets explore a bit further"},{"metadata":{"trusted":true,"_uuid":"633c0dd7aa3812f54268ddb255c4aaf54e037d3d"},"cell_type":"code","source":"df.info()","execution_count":null,"outputs":[]},{"metadata":{"_uuid":"5f2031b2bce1e86c3264a4092b372ae02cc688d4"},"cell_type":"markdown","source":"Age, Cabin and Embarked columns have some missing values."},{"metadata":{"trusted":true,"_uuid":"b8119c487387b39f9cb2a9fa8a1324bd4f1ed14f"},"cell_type":"markdown","source":"The point of imputation **is not** that the imputed values should look like observed values. The\npoint** is** that the imputed variable should act like the observed variable when used in analysis. "},{"metadata":{"trusted":true,"_uuid":"1dd03440fd4c64a48386e077cfa8f80a07e6669b"},"cell_type":"code","source":"x = np.random.normal(29.6,14.5,1000)\nprint(x>0)","execution_count":null,"outputs":[]},{"metadata":{"_uuid":"3fd00dc3ef09016d3c917a3cb2e74e2a3ce2bf82"},"cell_type":"markdown","source":""}],"metadata":{"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"name":"python","version":"3.6.6","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"}},"nbformat":4,"nbformat_minor":1}