{"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":41875,"databundleVersionId":5521661,"isSourceIdPinned":false,"sourceType":"competition"},{"sourceId":14113614,"sourceType":"datasetVersion","datasetId":8990533},{"sourceId":14114141,"sourceType":"datasetVersion","datasetId":8990954},{"sourceId":14133176,"sourceType":"datasetVersion","datasetId":9005815},{"sourceId":14134276,"sourceType":"datasetVersion","datasetId":9006640},{"sourceId":14153751,"sourceType":"datasetVersion","datasetId":9021103},{"sourceId":14199319,"sourceType":"datasetVersion","datasetId":9055411},{"sourceId":14459317,"sourceType":"datasetVersion","datasetId":9235448},{"sourceId":14459327,"sourceType":"datasetVersion","datasetId":9235453},{"sourceId":14459338,"sourceType":"datasetVersion","datasetId":9235457},{"sourceId":14459354,"sourceType":"datasetVersion","datasetId":9235467}],"dockerImageVersionId":31192,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import pandas as pd\nimport os\n\n# 1. Define the path to your uploaded file\n# Based on your screenshot, your dataset is named 'tpcafa5-icafa5'\ninput_path = \"/kaggle/input/tcafa5-icafa5-new-dataset/tcafa5-icafa5.csv\"\n\n# 2. Read the file\n# We assume it is a CSV since the extension is .csv\ndf = pd.read_csv(input_path)\n\n# 3. Save it to the Working Directory as a TSV\n# The competition specifically requires the name 'submission.tsv'\noutput_path = \"/kaggle/working/submission.tsv\"\ndf.to_csv(output_path, sep='\\t', index=False)\n\nprint(f\"Success! File saved to {output_path}\")","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2025-12-17T18:21:33.873525Z","iopub.execute_input":"2025-12-17T18:21:33.873854Z","iopub.status.idle":"2025-12-17T18:21:59.807821Z","shell.execute_reply.started":"2025-12-17T18:21:33.873817Z","shell.execute_reply":"2025-12-17T18:21:59.806732Z"}},"outputs":[],"execution_count":null}]}