{"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)\nimport random\n","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2022-03-09T15:47:07.736770Z","iopub.execute_input":"2022-03-09T15:47:07.737053Z","iopub.status.idle":"2022-03-09T15:47:07.741165Z","shell.execute_reply.started":"2022-03-09T15:47:07.737023Z","shell.execute_reply":"2022-03-09T15:47:07.740340Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"train = pd.read_csv('../input/ultra-mnist/train.csv')\nsubmission = pd.read_csv('../input/ultra-mnist/sample_submission.csv')\ntrain.head()","metadata":{"execution":{"iopub.status.busy":"2022-03-09T15:41:43.090424Z","iopub.execute_input":"2022-03-09T15:41:43.090678Z","iopub.status.idle":"2022-03-09T15:41:43.16285Z","shell.execute_reply.started":"2022-03-09T15:41:43.090651Z","shell.execute_reply":"2022-03-09T15:41:43.162019Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission.shape","metadata":{"execution":{"iopub.status.busy":"2022-03-09T15:47:53.649527Z","iopub.execute_input":"2022-03-09T15:47:53.649892Z","iopub.status.idle":"2022-03-09T15:47:53.655135Z","shell.execute_reply.started":"2022-03-09T15:47:53.649839Z","shell.execute_reply":"2022-03-09T15:47:53.654439Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"submission['digit_sum'] = [random.randint(0,27) for x in range(28000)]\nsubmission.to_csv('submission.csv', index=False)\nsubmission.head()","metadata":{"execution":{"iopub.status.busy":"2022-03-09T15:48:25.426502Z","iopub.execute_input":"2022-03-09T15:48:25.426799Z","iopub.status.idle":"2022-03-09T15:48:25.548575Z","shell.execute_reply.started":"2022-03-09T15:48:25.426764Z","shell.execute_reply":"2022-03-09T15:48:25.547661Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}