{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.11.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":112509,"databundleVersionId":14254895,"sourceType":"competition"},{"sourceId":272122467,"sourceType":"kernelVersion"}],"dockerImageVersionId":31154,"isInternetEnabled":false,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import pandas as pd","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-10-30T12:54:47.012760Z","iopub.execute_input":"2025-10-30T12:54:47.013055Z","iopub.status.idle":"2025-10-30T12:54:48.877131Z","shell.execute_reply.started":"2025-10-30T12:54:47.013027Z","shell.execute_reply":"2025-10-30T12:54:48.876378Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"df = pd.read_csv(\"/kaggle/input/csiro-img2bio-testing/submission.csv\")\ndesired_order = [\n    \"ID1001187975__Dry_Green_g\",\n    \"ID1001187975__Dry_Dead_g\",\n    \"ID1001187975__Dry_Clover_g\",\n    \"ID1001187975__GDM_g\",\n    \"ID1001187975__Dry_Total_g\"\n]\ndf = df.set_index(\"sample_id\").loc[desired_order].reset_index()\ndf.to_csv(\"submission.csv\", index=False)","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2025-10-30T12:54:48.878800Z","iopub.execute_input":"2025-10-30T12:54:48.879258Z","iopub.status.idle":"2025-10-30T12:54:48.960367Z","shell.execute_reply.started":"2025-10-30T12:54:48.879228Z","shell.execute_reply":"2025-10-30T12:54:48.959721Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"","metadata":{"trusted":true},"outputs":[],"execution_count":null}]}