{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"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\n\n\ndata_train= pd.read_csv('/kaggle/input/predict-student-performance-from-game-play/test.csv', delimiter=\",\",index_col=False)\ndata_test=pd.read_csv('/kaggle/input/predict-student-performance-from-game-play/test.csv', delimiter=\",\",index_col=False)\ntrain_labels=pd.read_csv('/kaggle/input/predict-student-performance-from-game-play/train_labels.csv', delimiter=\",\",index_col=False)\nsample_sub=pd.read_csv('/kaggle/input/predict-student-performance-from-game-play/sample_submission.csv', delimiter=\",\",index_col=False)\n\n\n\n","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2023-04-14T08:50:52.329810Z","iopub.execute_input":"2023-04-14T08:50:52.330219Z","iopub.status.idle":"2023-04-14T08:50:52.864859Z","shell.execute_reply.started":"2023-04-14T08:50:52.330177Z","shell.execute_reply":"2023-04-14T08:50:52.863435Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print(data_train.shape)\ndata_train.head()\n\n","metadata":{"execution":{"iopub.status.busy":"2023-04-14T08:50:52.871159Z","iopub.execute_input":"2023-04-14T08:50:52.871791Z","iopub.status.idle":"2023-04-14T08:50:52.923111Z","shell.execute_reply.started":"2023-04-14T08:50:52.871751Z","shell.execute_reply":"2023-04-14T08:50:52.920520Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"data_train.info","metadata":{"execution":{"iopub.status.busy":"2023-04-14T08:50:52.926838Z","iopub.execute_input":"2023-04-14T08:50:52.927745Z","iopub.status.idle":"2023-04-14T08:50:52.951266Z","shell.execute_reply.started":"2023-04-14T08:50:52.927703Z","shell.execute_reply":"2023-04-14T08:50:52.949522Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print(data_test.shape)\ndata_test.head()","metadata":{"execution":{"iopub.status.busy":"2023-04-14T08:50:52.953679Z","iopub.execute_input":"2023-04-14T08:50:52.954100Z","iopub.status.idle":"2023-04-14T08:50:52.984716Z","shell.execute_reply.started":"2023-04-14T08:50:52.954065Z","shell.execute_reply":"2023-04-14T08:50:52.983353Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print(train_labels.shape)\ntrain_labels.head()","metadata":{"execution":{"iopub.status.busy":"2023-04-14T08:50:53.014378Z","iopub.execute_input":"2023-04-14T08:50:53.015006Z","iopub.status.idle":"2023-04-14T08:50:53.024768Z","shell.execute_reply.started":"2023-04-14T08:50:53.014970Z","shell.execute_reply":"2023-04-14T08:50:53.023862Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"\ntrain_labels.loc[train_labels[\"session_id\"]=='20090312433251036_q1' ]\n","metadata":{"execution":{"iopub.status.busy":"2023-04-14T08:50:53.026747Z","iopub.execute_input":"2023-04-14T08:50:53.028066Z","iopub.status.idle":"2023-04-14T08:50:53.078743Z","shell.execute_reply.started":"2023-04-14T08:50:53.028008Z","shell.execute_reply":"2023-04-14T08:50:53.077495Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print(sample_sub.shape)\nsample_sub.head()","metadata":{"execution":{"iopub.status.busy":"2023-04-14T08:50:53.080007Z","iopub.execute_input":"2023-04-14T08:50:53.080317Z","iopub.status.idle":"2023-04-14T08:50:53.094729Z","shell.execute_reply.started":"2023-04-14T08:50:53.080287Z","shell.execute_reply":"2023-04-14T08:50:53.093135Z"},"trusted":true},"execution_count":null,"outputs":[]}]}