{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.13","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":73047,"databundleVersionId":8140249,"sourceType":"competition"}],"dockerImageVersionId":30673,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"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":"2024-04-05T10:13:10.144609Z","iopub.execute_input":"2024-04-05T10:13:10.144956Z","iopub.status.idle":"2024-04-05T10:13:10.150282Z","shell.execute_reply.started":"2024-04-05T10:13:10.144934Z","shell.execute_reply":"2024-04-05T10:13:10.148718Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df = pd.read_csv(\"/kaggle/input/ben10/sample_submission.csv\")\ndf","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2024-04-05T10:13:10.386243Z","iopub.execute_input":"2024-04-05T10:13:10.386621Z","iopub.status.idle":"2024-04-05T10:13:10.407789Z","shell.execute_reply.started":"2024-04-05T10:13:10.386588Z","shell.execute_reply":"2024-04-05T10:13:10.406763Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"for i in df['id']:\n    if \"train_sylhet\" in i:\n        elems = i.split(\" \")\n        df['id'] = df['id'].replace(i, f\"valid_sylhet {elems[1]}\")\n\n        \ndf","metadata":{"execution":{"iopub.status.busy":"2024-04-05T10:20:36.380087Z","iopub.execute_input":"2024-04-05T10:20:36.380762Z","iopub.status.idle":"2024-04-05T10:20:36.430686Z","shell.execute_reply.started":"2024-04-05T10:20:36.380728Z","shell.execute_reply":"2024-04-05T10:20:36.428844Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.to_csv(\"sample_submission.csv\",index = False)","metadata":{"execution":{"iopub.status.busy":"2024-04-05T10:21:19.712416Z","iopub.execute_input":"2024-04-05T10:21:19.712795Z","iopub.status.idle":"2024-04-05T10:21:19.726285Z","shell.execute_reply.started":"2024-04-05T10:21:19.712772Z","shell.execute_reply":"2024-04-05T10:21:19.724873Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}