{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":91844,"databundleVersionId":11361821,"sourceType":"competition"}],"dockerImageVersionId":30918,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"# This Python 3 environment comes with many helpful analytics libraries installed\n# It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python\n# For example, here's several helpful packages to load\n\nimport numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\n\n# Input data files are available in the read-only \"../input/\" directory\n# For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory\n\nimport os\nfor dirname, _, filenames in os.walk('/kaggle/input'):\n    for filename in filenames:\n        print(os.path.join(dirname, filename))\n\n# You can write up to 20GB to the current directory (/kaggle/working/) that gets preserved as output when you create a version using \"Save & Run All\" \n# You can also write temporary files to /kaggle/temp/, but they won't be saved outside of the current session","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:30:37.786098Z","iopub.execute_input":"2025-03-19T17:30:37.786387Z","iopub.status.idle":"2025-03-19T17:31:44.801727Z","shell.execute_reply.started":"2025-03-19T17:30:37.786358Z","shell.execute_reply":"2025-03-19T17:31:44.800629Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"pd.read_csv(\"/kaggle/input/birdclef-2025/sample_submission.csv\")","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:31:44.802700Z","iopub.execute_input":"2025-03-19T17:31:44.803131Z","iopub.status.idle":"2025-03-19T17:31:44.864059Z","shell.execute_reply.started":"2025-03-19T17:31:44.803105Z","shell.execute_reply":"2025-03-19T17:31:44.863047Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"pd.read_csv(\"/kaggle/input/birdclef-2025/taxonomy.csv\")","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:31:44.865069Z","iopub.execute_input":"2025-03-19T17:31:44.865383Z","iopub.status.idle":"2025-03-19T17:31:44.886085Z","shell.execute_reply.started":"2025-03-19T17:31:44.865357Z","shell.execute_reply":"2025-03-19T17:31:44.884984Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"d1 = pd.read_csv(\"/kaggle/input/birdclef-2025/train.csv\")","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:47:35.894653Z","iopub.execute_input":"2025-03-19T17:47:35.895012Z","iopub.status.idle":"2025-03-19T17:47:36.041746Z","shell.execute_reply.started":"2025-03-19T17:47:35.894982Z","shell.execute_reply":"2025-03-19T17:47:36.040606Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"d1.shape","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:47:38.069535Z","iopub.execute_input":"2025-03-19T17:47:38.069898Z","iopub.status.idle":"2025-03-19T17:47:38.075943Z","shell.execute_reply.started":"2025-03-19T17:47:38.069867Z","shell.execute_reply":"2025-03-19T17:47:38.074880Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"d1.head()","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:47:40.485227Z","iopub.execute_input":"2025-03-19T17:47:40.485655Z","iopub.status.idle":"2025-03-19T17:47:40.503114Z","shell.execute_reply.started":"2025-03-19T17:47:40.485622Z","shell.execute_reply":"2025-03-19T17:47:40.501951Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"d1.info()","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:47:47.775670Z","iopub.execute_input":"2025-03-19T17:47:47.775987Z","iopub.status.idle":"2025-03-19T17:47:47.804715Z","shell.execute_reply.started":"2025-03-19T17:47:47.775963Z","shell.execute_reply":"2025-03-19T17:47:47.803519Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"d1.isnull().sum()","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:47:50.498217Z","iopub.execute_input":"2025-03-19T17:47:50.498610Z","iopub.status.idle":"2025-03-19T17:47:50.522540Z","shell.execute_reply.started":"2025-03-19T17:47:50.498578Z","shell.execute_reply":"2025-03-19T17:47:50.521361Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"d1.drop([\"primary_label\", \"secondary_labels\", \"type\", \"collection\", \"url\", \"author\", \"license\"], axis=1, inplace=True)\n","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:47:56.575738Z","iopub.execute_input":"2025-03-19T17:47:56.576110Z","iopub.status.idle":"2025-03-19T17:47:56.583129Z","shell.execute_reply.started":"2025-03-19T17:47:56.576077Z","shell.execute_reply":"2025-03-19T17:47:56.581841Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"d1","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:47:58.650102Z","iopub.execute_input":"2025-03-19T17:47:58.650523Z","iopub.status.idle":"2025-03-19T17:47:58.665098Z","shell.execute_reply.started":"2025-03-19T17:47:58.650482Z","shell.execute_reply":"2025-03-19T17:47:58.664021Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"# d1.to_csv(\"BirdCLEF_2025_Data.csv\")","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2025-03-19T17:50:06.454967Z","iopub.execute_input":"2025-03-19T17:50:06.455360Z","iopub.status.idle":"2025-03-19T17:50:06.461734Z","shell.execute_reply.started":"2025-03-19T17:50:06.455328Z","shell.execute_reply":"2025-03-19T17:50:06.459749Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"","metadata":{"trusted":true},"outputs":[],"execution_count":null}]}