{"cells":[{"metadata":{"_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","trusted":true},"cell_type":"code","source":"\nimport numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\nimport matplotlib.pyplot as plt\n%matplotlib inline\n\nimport os\nprint(os.listdir(\"../input\"))\n\n","execution_count":2,"outputs":[]},{"metadata":{"_cell_guid":"79c7e3d0-c299-4dcb-8224-4455121ee9b0","_uuid":"d629ff2d2480ee46fbb7e2d37f6b5fab8052498a","trusted":true,"collapsed":true},"cell_type":"code","source":"df_train_sample = pd.read_csv('../input/train_sample.csv')","execution_count":3,"outputs":[]},{"metadata":{"_cell_guid":"2dcc2a6b-14e7-450e-94b0-d4167b6dfa0f","_uuid":"59d21eb7c5c5b57ad854f1fff81ab1dd067db96f","trusted":true},"cell_type":"code","source":"df_train_sample.head()","execution_count":4,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"81eac04737790220724c81c0a8d156d41c96b18b"},"cell_type":"code","source":"df_train_sample.info()","execution_count":9,"outputs":[]},{"metadata":{"_cell_guid":"6067acc3-153a-4b8c-b798-6e9238aee0fc","_uuid":"7e65b4711afa7a0b5fa747ea3f6c93be3b1865a3","trusted":true},"cell_type":"code","source":"df_train_sample['is_attributed'].value_counts().plot.bar()","execution_count":8,"outputs":[]},{"metadata":{"_cell_guid":"2358e686-8ba2-4e63-97cf-4c3f1e5479df","_uuid":"124bb73a14865625f0d3a8518564b3b688d89d63","trusted":true},"cell_type":"code","source":"df_train_sample.describe()","execution_count":10,"outputs":[]},{"metadata":{"_cell_guid":"d73d2a2a-8b15-42ca-b40d-d8bbbe081268","_uuid":"1e95b90de745ed15bb6173a451d92447d499a023","trusted":true},"cell_type":"code","source":"df_train_sample.corr()","execution_count":11,"outputs":[]},{"metadata":{"_cell_guid":"09e75ed2-7708-41be-a13c-56e9d5126b04","_uuid":"c89b72c892574994f61912bce5cdf82705b8b94a","trusted":true},"cell_type":"code","source":"import seaborn as sns","execution_count":13,"outputs":[]},{"metadata":{"_cell_guid":"f30fe7a0-9577-438a-954a-0d79795d195e","_uuid":"897e57310dd179bc93c8c2038b502fd4f610cb9a","trusted":true},"cell_type":"code","source":"sns.heatmap(df_train_sample.corr())","execution_count":14,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"e7b5011e4ba889aeb79a5547cfc2dedc7162fe39"},"cell_type":"code","source":"df_train_sample.columns","execution_count":16,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"6f459575cddcb10c19d4212256a4314867f0cba3"},"cell_type":"code","source":"df_train_sample['ip'].value_counts().sort_index().plot()","execution_count":21,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"d14ab6c92c0b3417186c3dc16f1d03b8a6f48432"},"cell_type":"code","source":"df_train_sample['app'].value_counts().sort_index().plot()","execution_count":23,"outputs":[]},{"metadata":{"trusted":true,"_uuid":"03e684a18ecf862488f72a9c7731898e28b98899"},"cell_type":"code","source":"df_train_sample['attributed_time'].value_counts().sort_index().plot()","execution_count":28,"outputs":[]},{"metadata":{"trusted":true,"collapsed":true,"_uuid":"1d5abcf0a48855a9dafd3603f129d04ed6c626e1"},"cell_type":"code","source":"","execution_count":null,"outputs":[]}],"metadata":{"kernelspec":{"display_name":"Python 3","language":"python","name":"python3"},"language_info":{"name":"python","version":"3.6.4","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"}},"nbformat":4,"nbformat_minor":1}