{"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","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2022-07-09T02:22:57.465153Z","iopub.execute_input":"2022-07-09T02:22:57.465913Z","iopub.status.idle":"2022-07-09T02:22:57.490079Z","shell.execute_reply.started":"2022-07-09T02:22:57.465817Z","shell.execute_reply":"2022-07-09T02:22:57.489185Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission = pd.read_csv(\"../input/foursquare-location-matching/test.csv\", usecols=[\"id\"])\nsubmission","metadata":{"execution":{"iopub.status.busy":"2022-07-09T02:23:09.030652Z","iopub.execute_input":"2022-07-09T02:23:09.031138Z","iopub.status.idle":"2022-07-09T02:23:09.061143Z","shell.execute_reply.started":"2022-07-09T02:23:09.031074Z","shell.execute_reply":"2022-07-09T02:23:09.060215Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission[\"matches\"] = submission[\"id\"]\nsubmission","metadata":{"execution":{"iopub.status.busy":"2022-07-09T02:23:21.753805Z","iopub.execute_input":"2022-07-09T02:23:21.754601Z","iopub.status.idle":"2022-07-09T02:23:21.769768Z","shell.execute_reply.started":"2022-07-09T02:23:21.754559Z","shell.execute_reply":"2022-07-09T02:23:21.768916Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission.to_csv(\"submission.csv\", index=False)\npd.read_csv(\"submission.csv\")","metadata":{"execution":{"iopub.status.busy":"2022-07-09T02:23:44.626656Z","iopub.execute_input":"2022-07-09T02:23:44.627056Z","iopub.status.idle":"2022-07-09T02:23:44.642126Z","shell.execute_reply.started":"2022-07-09T02:23:44.627023Z","shell.execute_reply":"2022-07-09T02:23:44.641357Z"},"trusted":true},"execution_count":null,"outputs":[]}]}