{"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":4294,"databundleVersionId":33829,"sourceType":"competition"}],"dockerImageVersionId":30587,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\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","execution":{"iopub.status.busy":"2023-12-05T14:59:30.212135Z","iopub.execute_input":"2023-12-05T14:59:30.212508Z","iopub.status.idle":"2023-12-05T14:59:30.219150Z","shell.execute_reply.started":"2023-12-05T14:59:30.212478Z","shell.execute_reply":"2023-12-05T14:59:30.217892Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# Extrac zip files\nimport zipfile\ndef extract_images(filePath):\n    with zipfile.ZipFile(filePath,\"r\") as z:\n        z.extractall(\".\")\n# Test\nextract_images('/kaggle/input/facebook-recruiting-iv-human-or-bot/train.csv.zip')\nextract_images('/kaggle/input/facebook-recruiting-iv-human-or-bot/bids.csv.zip')\nextract_images('/kaggle/input/facebook-recruiting-iv-human-or-bot/test.csv.zip')","metadata":{"execution":{"iopub.status.busy":"2023-12-05T15:01:19.142989Z","iopub.execute_input":"2023-12-05T15:01:19.143351Z","iopub.status.idle":"2023-12-05T15:01:25.727327Z","shell.execute_reply.started":"2023-12-05T15:01:19.143324Z","shell.execute_reply":"2023-12-05T15:01:25.726465Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train_df = pd.read_csv('/kaggle/input/facebook-recruiting-iv-human-or-bot/train.csv.zip')\nbids_df = pd.read_csv('/kaggle/input/facebook-recruiting-iv-human-or-bot/bids.csv.zip')","metadata":{"execution":{"iopub.status.busy":"2023-12-05T15:01:39.408549Z","iopub.execute_input":"2023-12-05T15:01:39.408895Z","iopub.status.idle":"2023-12-05T15:01:54.791261Z","shell.execute_reply.started":"2023-12-05T15:01:39.408867Z","shell.execute_reply":"2023-12-05T15:01:54.790159Z"},"trusted":true},"execution_count":null,"outputs":[]}]}