{"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":"import numpy as np\nimport pandas as pd\nnp.random.seed(2021)","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2021-08-31T11:28:24.168859Z","iopub.execute_input":"2021-08-31T11:28:24.16927Z","iopub.status.idle":"2021-08-31T11:28:24.179803Z","shell.execute_reply.started":"2021-08-31T11:28:24.169187Z","shell.execute_reply":"2021-08-31T11:28:24.178708Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"## My blog[ Data Science with Python](https://dspyt.com) is at [Dspyt.com](https://dspyt.com)\n\n## The submission files are from https://www.kaggle.com/leolu1998/my-blend-for-g2net","metadata":{}},{"cell_type":"code","source":"df = pd.read_csv('../input/g2net/submission (1).csv')#.sort_values('id') \ndf1 = pd.read_csv('../input/g2net/submission (2).csv')#.sort_values('id') ","metadata":{"execution":{"iopub.status.busy":"2021-08-31T11:28:25.472816Z","iopub.execute_input":"2021-08-31T11:28:25.473303Z","iopub.status.idle":"2021-08-31T11:28:26.089689Z","shell.execute_reply.started":"2021-08-31T11:28:25.473272Z","shell.execute_reply":"2021-08-31T11:28:26.088869Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.target = df.target.apply(lambda x: x+ np.random.normal(0, 0.00001))","metadata":{"execution":{"iopub.status.busy":"2021-08-31T11:28:38.269877Z","iopub.execute_input":"2021-08-31T11:28:38.2704Z","iopub.status.idle":"2021-08-31T11:28:38.293477Z","shell.execute_reply.started":"2021-08-31T11:28:38.270369Z","shell.execute_reply":"2021-08-31T11:28:38.292452Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"df.to_csv('submission.csv', index=False)","metadata":{},"execution_count":null,"outputs":[]}]}