{"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\nimport seaborn as sns\nimport numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)\nimport matplotlib.pyplot as plt\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","execution":{"iopub.status.busy":"2023-03-28T22:35:16.954129Z","iopub.execute_input":"2023-03-28T22:35:16.954748Z","iopub.status.idle":"2023-03-28T22:35:17.895107Z","shell.execute_reply.started":"2023-03-28T22:35:16.954693Z","shell.execute_reply":"2023-03-28T22:35:17.893855Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"analysis=pd.read_csv(\"/kaggle/input/tlvmc-parkinsons-freezing-gait-prediction/daily_metadata.csv\")\nprint(analysis.to_string)","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:17.896929Z","iopub.execute_input":"2023-03-28T22:35:17.897295Z","iopub.status.idle":"2023-03-28T22:35:17.930832Z","shell.execute_reply.started":"2023-03-28T22:35:17.897262Z","shell.execute_reply":"2023-03-28T22:35:17.929562Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"analysis.head()","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:17.932616Z","iopub.execute_input":"2023-03-28T22:35:17.933370Z","iopub.status.idle":"2023-03-28T22:35:17.954767Z","shell.execute_reply.started":"2023-03-28T22:35:17.933328Z","shell.execute_reply":"2023-03-28T22:35:17.953800Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"analysis.tail()","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:17.956521Z","iopub.execute_input":"2023-03-28T22:35:17.957218Z","iopub.status.idle":"2023-03-28T22:35:17.969797Z","shell.execute_reply.started":"2023-03-28T22:35:17.957179Z","shell.execute_reply":"2023-03-28T22:35:17.968725Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"analysis.shape","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:17.973160Z","iopub.execute_input":"2023-03-28T22:35:17.973633Z","iopub.status.idle":"2023-03-28T22:35:17.984419Z","shell.execute_reply.started":"2023-03-28T22:35:17.973590Z","shell.execute_reply":"2023-03-28T22:35:17.983172Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"analysis.describe()","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:17.986211Z","iopub.execute_input":"2023-03-28T22:35:17.987645Z","iopub.status.idle":"2023-03-28T22:35:18.015636Z","shell.execute_reply.started":"2023-03-28T22:35:17.987590Z","shell.execute_reply":"2023-03-28T22:35:18.014268Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"analysis.info()","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:18.017030Z","iopub.execute_input":"2023-03-28T22:35:18.017833Z","iopub.status.idle":"2023-03-28T22:35:18.036246Z","shell.execute_reply.started":"2023-03-28T22:35:18.017787Z","shell.execute_reply":"2023-03-28T22:35:18.034763Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"analysis.plot()","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:18.038265Z","iopub.execute_input":"2023-03-28T22:35:18.039236Z","iopub.status.idle":"2023-03-28T22:35:18.397589Z","shell.execute_reply.started":"2023-03-28T22:35:18.039179Z","shell.execute_reply":"2023-03-28T22:35:18.396045Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"data_roll=pd.read_csv(\"/kaggle/input/tlvmc-parkinsons-freezing-gait-prediction/test/defog/02ab235146.csv\")\nprint(data_roll.to_string)\n","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:18.399553Z","iopub.execute_input":"2023-03-28T22:35:18.400084Z","iopub.status.idle":"2023-03-28T22:35:18.873339Z","shell.execute_reply.started":"2023-03-28T22:35:18.400030Z","shell.execute_reply":"2023-03-28T22:35:18.872396Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"data_roll.plot()","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:18.875274Z","iopub.execute_input":"2023-03-28T22:35:18.876001Z","iopub.status.idle":"2023-03-28T22:35:20.928168Z","shell.execute_reply.started":"2023-03-28T22:35:18.875958Z","shell.execute_reply":"2023-03-28T22:35:20.926715Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"data_roll2=pd.read_csv(\"/kaggle/input/tlvmc-parkinsons-freezing-gait-prediction/test/tdcsfog/003f117e14.csv\")\ndata_roll2","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:20.930106Z","iopub.execute_input":"2023-03-28T22:35:20.930600Z","iopub.status.idle":"2023-03-28T22:35:20.970158Z","shell.execute_reply.started":"2023-03-28T22:35:20.930558Z","shell.execute_reply":"2023-03-28T22:35:20.969147Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"data_roll2.tail()","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:20.972304Z","iopub.execute_input":"2023-03-28T22:35:20.973182Z","iopub.status.idle":"2023-03-28T22:35:20.986907Z","shell.execute_reply.started":"2023-03-28T22:35:20.973109Z","shell.execute_reply":"2023-03-28T22:35:20.985539Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"data_roll2.describe()","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:20.988870Z","iopub.execute_input":"2023-03-28T22:35:20.989749Z","iopub.status.idle":"2023-03-28T22:35:21.024404Z","shell.execute_reply.started":"2023-03-28T22:35:20.989691Z","shell.execute_reply":"2023-03-28T22:35:21.022925Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"analysis.sum()","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:21.028287Z","iopub.execute_input":"2023-03-28T22:35:21.028978Z","iopub.status.idle":"2023-03-28T22:35:21.039115Z","shell.execute_reply.started":"2023-03-28T22:35:21.028937Z","shell.execute_reply":"2023-03-28T22:35:21.037571Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"data_roll2.plot()","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:35:21.040875Z","iopub.execute_input":"2023-03-28T22:35:21.041341Z","iopub.status.idle":"2023-03-28T22:35:21.356242Z","shell.execute_reply.started":"2023-03-28T22:35:21.041299Z","shell.execute_reply":"2023-03-28T22:35:21.354726Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"def data_roll(time):\n    new=time\n    if new is time:\n        print(\"yes\")\n    else:\n        print(\"not eqaul\")\nsns.histplot(analysis)","metadata":{"execution":{"iopub.status.busy":"2023-03-28T22:36:44.505052Z","iopub.execute_input":"2023-03-28T22:36:44.505574Z","iopub.status.idle":"2023-03-28T22:36:44.813551Z","shell.execute_reply.started":"2023-03-28T22:36:44.505523Z","shell.execute_reply":"2023-03-28T22:36:44.811991Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}