{"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\nimport matplotlib.pylab as plt\nimport seaborn as sns","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2022-06-29T20:35:52.760886Z","iopub.execute_input":"2022-06-29T20:35:52.761452Z","iopub.status.idle":"2022-06-29T20:35:53.697624Z","shell.execute_reply.started":"2022-06-29T20:35:52.761362Z","shell.execute_reply":"2022-06-29T20:35:53.696619Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"articles = pd.read_csv(\n    \"../input/h-and-m-personalized-fashion-recommendations/articles.csv\"\n)\ncustomers = pd.read_csv(\n    \"../input/h-and-m-personalized-fashion-recommendations/customers.csv\"\n)\nsample_submission = pd.read_csv(\n    \"../input/h-and-m-personalized-fashion-recommendations/sample_submission.csv\"\n)\ntrain = pd.read_csv(\n    \"../input/h-and-m-personalized-fashion-recommendations/transactions_train.csv\",\n    parse_dates=[\"t_dat\"],\n)","metadata":{"execution":{"iopub.status.busy":"2022-03-04T14:36:40.282617Z","iopub.execute_input":"2022-03-04T14:36:40.28294Z","iopub.status.idle":"2022-03-04T14:38:09.513393Z","shell.execute_reply.started":"2022-03-04T14:36:40.282896Z","shell.execute_reply":"2022-03-04T14:38:09.512281Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"articles","metadata":{"execution":{"iopub.status.busy":"2022-03-04T14:38:09.540936Z","iopub.execute_input":"2022-03-04T14:38:09.541292Z","iopub.status.idle":"2022-03-04T14:38:09.672705Z","shell.execute_reply.started":"2022-03-04T14:38:09.541234Z","shell.execute_reply":"2022-03-04T14:38:09.671984Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"articles.columns","metadata":{"execution":{"iopub.status.busy":"2022-03-04T14:46:33.423071Z","iopub.execute_input":"2022-03-04T14:46:33.423358Z","iopub.status.idle":"2022-03-04T14:46:33.429183Z","shell.execute_reply.started":"2022-03-04T14:46:33.423325Z","shell.execute_reply":"2022-03-04T14:46:33.428376Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print(articles.product_group_name.unique())\nlen(articles.product_group_name.unique())","metadata":{"execution":{"iopub.status.busy":"2022-03-04T14:43:14.434993Z","iopub.execute_input":"2022-03-04T14:43:14.435661Z","iopub.status.idle":"2022-03-04T14:43:14.459559Z","shell.execute_reply.started":"2022-03-04T14:43:14.435626Z","shell.execute_reply":"2022-03-04T14:43:14.459028Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print(articles.colour_group_name.unique())\nlen(articles.colour_group_name.unique())","metadata":{"execution":{"iopub.status.busy":"2022-03-04T14:45:38.518764Z","iopub.execute_input":"2022-03-04T14:45:38.519123Z","iopub.status.idle":"2022-03-04T14:45:38.545552Z","shell.execute_reply.started":"2022-03-04T14:45:38.519091Z","shell.execute_reply":"2022-03-04T14:45:38.544786Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print(articles.index_name.unique())\nlen(articles.index_name.unique())","metadata":{"execution":{"iopub.status.busy":"2022-03-04T14:52:09.720376Z","iopub.execute_input":"2022-03-04T14:52:09.720669Z","iopub.status.idle":"2022-03-04T14:52:09.745344Z","shell.execute_reply.started":"2022-03-04T14:52:09.720636Z","shell.execute_reply":"2022-03-04T14:52:09.744584Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"\nprint(articles.section_name.unique())\nlen(articles.section_name.unique())","metadata":{"execution":{"iopub.status.busy":"2022-03-04T14:53:24.541536Z","iopub.execute_input":"2022-03-04T14:53:24.541858Z","iopub.status.idle":"2022-03-04T14:53:24.568048Z","shell.execute_reply.started":"2022-03-04T14:53:24.541823Z","shell.execute_reply":"2022-03-04T14:53:24.566921Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"min([(1,2),(2,3)])","metadata":{"execution":{"iopub.status.busy":"2022-04-01T06:56:09.539393Z","iopub.execute_input":"2022-04-01T06:56:09.540108Z","iopub.status.idle":"2022-04-01T06:56:09.571629Z","shell.execute_reply.started":"2022-04-01T06:56:09.540004Z","shell.execute_reply":"2022-04-01T06:56:09.570656Z"},"trusted":true},"execution_count":null,"outputs":[]}]}