{"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":{"execution":{"iopub.status.busy":"2021-08-19T06:37:09.447402Z","iopub.execute_input":"2021-08-19T06:37:09.447829Z","iopub.status.idle":"2021-08-19T06:37:09.456807Z","shell.execute_reply.started":"2021-08-19T06:37:09.447733Z","shell.execute_reply":"2021-08-19T06:37:09.455833Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission = pd.read_csv('../input/rsna-fast-submission/submission.csv')","metadata":{"execution":{"iopub.status.busy":"2021-08-19T06:39:03.521710Z","iopub.execute_input":"2021-08-19T06:39:03.522201Z","iopub.status.idle":"2021-08-19T06:39:03.537230Z","shell.execute_reply.started":"2021-08-19T06:39:03.522160Z","shell.execute_reply":"2021-08-19T06:39:03.536394Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission.head()","metadata":{"execution":{"iopub.status.busy":"2021-08-19T06:39:08.210521Z","iopub.execute_input":"2021-08-19T06:39:08.210867Z","iopub.status.idle":"2021-08-19T06:39:08.235689Z","shell.execute_reply.started":"2021-08-19T06:39:08.210838Z","shell.execute_reply":"2021-08-19T06:39:08.235029Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"pd.read_csv(\n    '../input/rsna-miccai-brain-tumor-radiogenomic-classification/sample_submission.csv',\n    usecols=[0],\n    index_col=0\n).join(submission.set_index('BraTS21ID')).fillna(0).to_csv('submission.csv')","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2021-08-19T06:39:43.118889Z","iopub.execute_input":"2021-08-19T06:39:43.119372Z","iopub.status.idle":"2021-08-19T06:39:43.133813Z","shell.execute_reply.started":"2021-08-19T06:39:43.119341Z","shell.execute_reply":"2021-08-19T06:39:43.132675Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}