From 23ee7fea0e13a59212698cf407cac1164fd1dee8 Mon Sep 17 00:00:00 2001 From: xinv535 Date: Tue, 9 Jul 2024 15:08:30 +0000 Subject: [PATCH] added words --- 01_GitHub_Deepnote_Intro/GitHub_Deepnote_Intro.ipynb | 1 - 02_Pandas/Pandas_Exercises.ipynb | 1 - 2 files changed, 2 deletions(-) delete mode 100644 01_GitHub_Deepnote_Intro/GitHub_Deepnote_Intro.ipynb delete mode 100644 02_Pandas/Pandas_Exercises.ipynb diff --git a/01_GitHub_Deepnote_Intro/GitHub_Deepnote_Intro.ipynb b/01_GitHub_Deepnote_Intro/GitHub_Deepnote_Intro.ipynb deleted file mode 100644 index c50b241..0000000 --- a/01_GitHub_Deepnote_Intro/GitHub_Deepnote_Intro.ipynb +++ /dev/null @@ -1 +0,0 @@ -{"cells":[{"cell_type":"markdown","metadata":{"id":"3LqQndJfqd2X","colab_type":"text","cell_id":"9d0f97370a5a486d92dbda54e5c488e5","deepnote_cell_type":"markdown"},"source":"# Getting Comfortable with Deepnote + GitHub\n\n**Deepnote** is a free, online Python notebook IDE that runs on a CPU or GPU in the cloud. You can log in with either a GitHub account or a Google account. For Medlytics, we will be logging in with **GitHub** accounts so that we can commit code edits directly to our repositories.","block_group":"00000-7c8c8923-3179-4d2b-b324-9831f5b193b7"},{"cell_type":"markdown","metadata":{"id":"M_QiCa_XYu2o","colab_type":"text","cell_id":"be11f9558efa44ffa6c8f31aa22794e7","deepnote_cell_type":"markdown"},"source":"Deepnote notebooks are functionally very similar to **Jupyter Notebooks** (with a few exceptions for uploading/downloading to/from local files) while also having similar funcitonalities to **Google Docs** where you can share notebooks to collaborate with group members in real time and comment on blocks of code/text.\n\nHere are some basics for working in Deepnote:\n\n* Start typing **Keyboard shortcuts** in the *command palette* (navigate to \"Project settings\"—three dots in upper right corner—and select from dropdown menu OR hit Ctrl + P) to quickly look up keyboard shortcuts in Deepnote. Here are some examples of default shortcuts in Deepnote (replace **Ctrl** with **Command** if on mac):\n * run current cell and move cursor to next cell: Shift + Enter\n * run current cell: Ctrl + Enter\n * execute all cells: Ctrl + Shift + Enter\n * stop execution: Ctrl + Shift + C\n * delete cell: Ctrl + Shift + Backspace\n * move cell up: Alt + Shift + Up\n * move cell down: Alt + Shift + Down\n * duplicate cell: Ctrl + Shift + D\n * insert code cell above: Ctrl + J\n * insert code cell below: Ctrl + K\n * undo: Ctrl + Z\n * redo: Ctrl + Y \n* Download a notebook to your local drive by right-clicking the file (or clicking the three dots next to it) and selecting \"`Export as .ipynb`\" in the dropdown menu.","block_group":"00001-5c933391-bb6f-4bd7-a480-c5cf7c1bda1a"},{"cell_type":"markdown","metadata":{"id":"PEKoaiRXqd4f","colab_type":"text","cell_id":"ab2dfabcea034c4ab25649edec5f9574","deepnote_cell_type":"markdown"},"source":"## Packages\n\nDeepnote already has the most common Python packages installed and ready for import, but if it doesn't have the particular package you need, you can install it using `!pip install mypackage` from inside a notebook cell.","block_group":"00002-2a31a534-43e2-4714-9b9f-72093524759d"},{"cell_type":"markdown","metadata":{"id":"J9dtrPy1ZIKL","colab_type":"text","cell_id":"9341901d519a44e4bc86b85d219fe0e7","deepnote_cell_type":"markdown"},"source":"### EXERCISE\n\nTry installing `tensorflow` in the cell below. It should output \"Requirement already satisfied,\" meaning that the package is already installed on the remote CPU you are using.","block_group":"00003-5e565e4b-a220-407a-af5f-4ac54cfe91c8"},{"cell_type":"code","metadata":{"id":"tKhUUZ81qjN7","colab":{},"colab_type":"code","source_hash":null,"execution_start":1625361606431,"execution_millis":1,"deepnote_to_be_reexecuted":false,"cell_id":"7f0989e0637248e9b1c8dc47853ebb97","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00004-31f87a88-d318-4be1-875d-507fe2b433a1","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"8CRkibIdqd8d","colab_type":"text","cell_id":"563083571cf44e20b4d98eefb2892de2","deepnote_cell_type":"markdown"},"source":"## Downloading/Uploading Locally in Deepnote\n\nAlthough you are running your code on a remote CPU/GPU, you can still download to or upload from your local drive. There are simple methods to carry out these processes in Deepnote.\n\n> Note: if you are uploading files from a URL to a local variable, you can do so the same way you would outside of Deepnote (ex. `Pandas.read_csv(URL)`).","block_group":"00005-aa21188d-f284-4a80-a3d7-059f5f67f2b2"},{"cell_type":"markdown","metadata":{"id":"nQeVXdYtuLiW","colab_type":"text","cell_id":"856edb9c0ae24d148f312a6b9281ca18","deepnote_cell_type":"markdown"},"source":"### Uploading File(s)\n\nTo upload files to work with from Deepnote, navigate to the **FILES** section of your user interface on the left side of the page. Then hit the `+` to upload files, which will then show up within this files space. From there, you can access these files from notebooks in the **NOTEBOOKS** section.","block_group":"00006-aa5b42a8-c517-4697-bf96-01568d658243"},{"cell_type":"markdown","metadata":{"id":"t-SzIdjWuPVv","colab_type":"text","cell_id":"53e9ff5acb5a48ef82e165f947b7a6da","deepnote_cell_type":"markdown"},"source":"### Downloading File(s)\n\nTo download files from Deepnote, locate your file from the user interface on the left. Then right click on the intended file (or click on the three dots next to the file) and hit \"`Download`\". This will download that file to your local drive.","block_group":"00007-efcf55b5-1216-425e-9afd-c402c7d404c3"},{"cell_type":"markdown","metadata":{"id":"mYq_DUYRq5Kn","colab_type":"text","cell_id":"4982696976f34e7eb56c439f84fdc7fb","deepnote_cell_type":"markdown"},"source":"## Troubleshooting Deepnote\n\n* If you do you not see the files in your GitHub repository, then either 1) create an **INTEGRATION** with GitHub or 2) click `+` next to **FILES** and \"`Connect a GitHub repository`\". Both are on the user interface to the left. You should then be able to see and access the files from your repository.\n* **Google** (or another search engine) is your best friend! Learning how to effectively and efficiently use the Internet for coding queries is a vital skill.\n* You can always ask an instructor for help.","block_group":"00013-b354d4f7-9f46-44b4-81ba-1a3e6e333937"},{"cell_type":"markdown","metadata":{"id":"UVQHrYeRap-i","colab_type":"text","cell_id":"86e499ffb3184096b9ecd35891a99404","deepnote_cell_type":"markdown"},"source":"## Saving Your Progress\n\nSince we'll be pushing out notebooks and other material in public class repositories on **GitHub**, you will have to make your own **fork** of them each week. This way you'll be able to fetch any changes we make to the class repository while still being able to push edits to your own workspace. Deepnote automatically saves your work and allows you to directly push your notebook edits/commits to your personal GitHub repository (the version that you fork from the master repo).\n\nFeel free to reference back to this notebook any time throughout the course.","block_group":"00014-d653a379-d318-4545-89a8-de19189c6b4c"},{"cell_type":"markdown","metadata":{"id":"psHPVWnTap-j","colab_type":"text","cell_id":"1ee3364914d84384a198d5d2f0df22b9","deepnote_cell_type":"markdown"},"source":"## Medlytics GitHub 101\n---","block_group":"00015-5546d013-b84b-4ff0-a30a-3266cafba323"},{"cell_type":"markdown","metadata":{"id":"BaQrIHdx07W0","colab_type":"text","cell_id":"93978870b81245ae949f1d2f30d535b7","deepnote_cell_type":"markdown"},"source":"## Medlytics GitHub 101\n\n### 1. Setting up your fork 🍴\n\n*You only have to complete this first section once (at the beginning of each week)*\n\n#### 1a. Making the fork \nHead over to the **public class** GitHub repository for that week and click the \"Fork\" button in the upper right corner. Fork to your personal GitHub account.\n\n![howtofork.png](https://raw.githubusercontent.com/MedlyticsUniversal/Data/main/Images/howtofork.png)\n\nAfter a few seconds, you should be redirected to your fork, and the top of your page should look something like this:\n\n![forkedimage.png](https://raw.githubusercontent.com/MedlyticsUniversal/Data/main/Images/forkedimage.png)\n\n#### 1b. Using an upstream\n\nIn order to keep your fork up to date with the class repository when we push new notebooks and files, you'll need to use the \"`Update branch`\" button from the home page of your forked repository. This will pull any new notebooks or files we push to the class master repository to your personal forked repository. This will be necessary mainly when we upload notebook solutions after you have completed the exercises.\n\n![fetchupstream.png](https://raw.githubusercontent.com/MedlyticsUniversal/Data/main/Images/fetchupstream.png)","block_group":"00016-793d7620-1599-4868-8093-dd9385b00aed"},{"cell_type":"markdown","metadata":{"id":"IUGQPJ9Oap-k","colab_type":"text","cell_id":"0af469d268b84e8898dd0957ae6ead33","deepnote_cell_type":"markdown"},"source":"## Working on Notebooks in Deepnote\n\nTo work on your notebooks in Deepnote, first go to the Deepnote dashboard (sign in with GitHub): https://deepnote.com/dashboard. Within your workspace, create a \"`New project`\". Then under **INTEGRATIONS** on your left, click `+` and create a new integration with GitHub. You will be redirected to GitHub to allow Deepnote to access your repositories—follow these steps, choose your repos (or allow access to all), and then return to Deepnote.\n\n*Note: Make sure you link **your personal forked repository** and not the class's master repository, since you won't have permissions to push or save changes to the public class repository.*\n\nYou should now see the screen below with all the notebooks and files for the class shown on the left. You can navigate from notebook to notebook using this file explorer. To enable running and editing a `.ipynb` notebook, move the file to the **NOTEBOOKS** section (Deepnote will prompt you to do this). Once a notebook is open, you can simply edit and run the cells as described above.\n\n![deepnote.png](https://raw.githubusercontent.com/MedlyticsUniversal/Data/main/Images/deepnote.png)\n\n> **Use the \"Notebook Live Status\" spreadsheet to indicate to the instructors what your group's status is regarding work on your notebook. Feel free to also ask us for help directly (through Discord or Zoom).**","block_group":"00019-bdef4234-2485-4468-b638-7439a8976500"},{"cell_type":"markdown","metadata":{"id":"IUGQPJ9Oap-k","colab_type":"text","cell_id":"2ea7e536f041455e90bdace734aa7313","deepnote_cell_type":"markdown"},"source":"## Collaborating on Notebooks in Deepnote\n\nThroughout the Medlytics class, you will be working in groups on different projects (exercises notebooks as well as the challenge projects). These groups will usually consist of 3 or 4 members. Deepnote has a fully synchronous feature, so multiple collaborators can work on the same notebook at once. One person in your group must share their notebook with the others so that the whole group can edit and work on the same code. To share the notebook with others, follow the steps below.\n\n> 1. Click the **blue \"`Share`\" button** at the top right of your screen in Deepnote. Set the desired access level to **\"Edit\"** from the drop-down field.\n\n![deepnoteshare.png](https://raw.githubusercontent.com/MedlyticsUniversal/Data/main/Images/deepnoteshare.png)\n\n> 2. Copy the project link to your clipboard (hit button next to **\"Anyone with a link to this project\"**).\n\n> 3. Send the link to your group members so that they can join you in editing the notebooks for that day (via Discord or Zoom chat).\n\n> 4. Use the **notebook submission form** to log information about your group as well as the notebook link you are working at (right click on the notebook from your file explorer and select \"`Copy link to notebook`\"). This is so that we instructors can help you by hopping onto your notebook in the event that your group is stuck.","block_group":"00013-15cc7df6-8cf6-4b39-a38a-8cf59fca1c47"},{"cell_type":"markdown","metadata":{"cell_id":"42617cd88a06465eb84b462104c8d6c3","deepnote_cell_type":"markdown"},"source":"And there you go! Are you ready to use Deepnote for the next 4 weeks?","block_group":"47afcc98f1904450884edb1e612d8a78"},{"cell_type":"markdown","metadata":{"cell_id":"2f26b8890cb94c0a81a9fda359a7d849","deepnote_cell_type":"markdown"},"source":"## Extra note:\nThe following block of instructions on committing updated notebooks to GitHub from Deepnote does not work with the current Deepnote environment. If, in the future, notebooks can be accessed from the Deepnote terminal (instead of just files), make use of these Deepnote-to-GitHub commit instructions.","block_group":"a0846d6af1eb438da5021281362f9db8"},{"cell_type":"markdown","metadata":{"id":"IUGQPJ9Oap-k","colab_type":"text","cell_id":"5c02a837e49c424498e0fab3f829d351","deepnote_cell_type":"markdown"},"source":"## Committing/Pushing to GitHub from Deepnote\n\nOnce you've edited your notebooks in Deepnote, you'll need to push those updates to your personal forked repository. Then you can fetch any upstream changes if necessary.\n\nFirst, find the **TERMINALS** menu on the left of the Deepnote environment.\n\n![terminals.png](https://raw.githubusercontent.com/MedlyticsUniversal/Data/main/Images/terminals.png)\n\nNow click on the `+` sign to open a new terminal (also known as the command line). Once the terminal is open, you'll need to change into the directory of your repository. Run the list command.\n\n```\nls\n```\n\nNow you should see the contents of the root directory. From here, run the below command to change directory (**write in the name of YOUR repository** after `cd`).\n\n```\ncd Week1\n```\n\nIf it is Week 2 or Week 3, you'll need to substitute in the appropriate number to switch to the correct directory in the terminal.\n\nOnce you are in the directory of your personal forked repository, run the following commands in sequence:\n\n```\ngit add .\ngit commit\n```\nDon't forget the period—it indicates the addition of the current directory and all files within it, recursively.\n\nNow you should see a window where your changes to the files in your directory are listed out. Type a **commit message** (e.g. \"Week 1 Group 1 work\"), which is essentially what you are naming the set of changes you are committing. Now press `ESC`, then type `:wq`, then hit enter. You should have returned to the main window of the terminal.\n\nLastly, run the below command to push your changes to your personal forked repository on GitHub.\n\n```\ngit push\n```\n\nYour screen should look similar to this:\n> In this case, the repository name was `Week_1` and the commit message was \"`Pandas update`\". Do you see it?\n![finishedterminal.png](https://raw.githubusercontent.com/MedlyticsUniversal/Data/main/Images/finishedterminal.png)\n\nYou can check to make sure your Git push worked by going to your forked GitHub repository and making sure your changes (and the commit message) show up there. If the push failed or something went wrong in the terminal, don't worry! Deepnote saves your changes automatically, so you won't lose your work. Just ask an instructor for help with pushing those changes to GitHub.\n\nYour *personal* GitHub repository should look similar to this:\n![finishedGitHub.png](https://raw.githubusercontent.com/MedlyticsUniversal/Data/main/Images/finishedGitHub.png)","block_group":"00014-a873bab6-865b-4d92-a1fc-320067e5f4ea"},{"cell_type":"markdown","source":"\nCreated in deepnote.com \nCreated in Deepnote","metadata":{"created_in_deepnote_cell":true,"deepnote_cell_type":"markdown"}}],"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"Colab_Github_Intro.ipynb","provenance":[],"collapsed_sections":[]},"deepnote":{},"kernelspec":{"name":"python3","language":"python","display_name":"Python 3"},"language_info":{"name":"python","version":"3.7.3","mimetype":"text/x-python","file_extension":".py","pygments_lexer":"ipython3","codemirror_mode":{"name":"ipython","version":3},"nbconvert_exporter":"python"},"deepnote_notebook_id":"96c4636d8cc943d7a93bb4e909258602","deepnote_execution_queue":[]}} \ No newline at end of file diff --git a/02_Pandas/Pandas_Exercises.ipynb b/02_Pandas/Pandas_Exercises.ipynb deleted file mode 100644 index 3f68f3a..0000000 --- a/02_Pandas/Pandas_Exercises.ipynb +++ /dev/null @@ -1 +0,0 @@ -{"cells":[{"cell_type":"markdown","metadata":{"id":"bSU6eKZTdMXZ","colab_type":"text","cell_id":"d673c599434e434cb888dc76e350c1bf","deepnote_cell_type":"markdown"},"source":"# Pandas Exercises","block_group":"00000-a1a70b45-4173-41c3-bd0f-1c7334aedbc1"},{"cell_type":"code","metadata":{"id":"c5ewTg7vdQFm","colab":{},"colab_type":"code","source_hash":null,"execution_start":1692985762944,"execution_millis":7,"deepnote_to_be_reexecuted":false,"cell_id":"77f3ded4258e470bb048496f97c9cf12","deepnote_cell_type":"code"},"source":"import pandas as pd\n\nurl = \"https://raw.githubusercontent.com/MedlyticsUniversal/Data/main/Week1/diabetes.csv\"\nnames = ['preg', 'plas', 'pres', 'skin', 'test', 'mass', 'pedi', 'age', 'class']","block_group":"00001-c6d0491e-81bf-48bb-9f7d-2474bd25924c","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"QOLgFaSKeShR","colab_type":"text","cell_id":"eaf32921c05c4ac5996cb2fdbadd60e2","deepnote_cell_type":"markdown"},"source":"Read in csv above to a Pandas DataFrame named `data`.","block_group":"00002-042a372d-c00c-4c1f-ac93-787afa44b1e9"},{"cell_type":"code","metadata":{"id":"Okcb8dnXeX2C","colab":{},"colab_type":"code","cell_id":"f6e0dcc849b944a78f4bc955ba092a41","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00003-3853efa3-180b-4c70-8be9-3a18524779a8","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"d4DyOsuoewE2","colab_type":"text","cell_id":"32b658cf17d74baea9f2685b232a92eb","deepnote_cell_type":"markdown"},"source":"Print out the age and class of the 100th patient.","block_group":"00004-7ec9296d-24bf-4019-8f5a-c844c6b8cb1a"},{"cell_type":"code","metadata":{"id":"xZqBsg39eY8_","colab":{},"colab_type":"code","cell_id":"fa9f17596e474584978837130ee1eb65","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00005-0056ddb4-3287-41f8-834d-5ece93cf6909","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"j8L2EM-5iOWc","colab_type":"text","cell_id":"6de4e905f120468c995c579e2337dbe4","deepnote_cell_type":"markdown"},"source":"Write code to figure out how many people are classified as not having diabetes (class = 0).","block_group":"00006-82daaf2f-3e31-463a-9b7a-53799ab84fef"},{"cell_type":"code","metadata":{"id":"vohzS51WiWvD","colab":{},"colab_type":"code","cell_id":"802732e849cf46d1ae6ef76f7306b121","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00007-2d900e3b-23a6-403c-9bde-7e09d0510fcd","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"ieGRz4iiiX4E","colab_type":"text","cell_id":"7716cab8f9b74c72bc6c2409d9c1dcee","deepnote_cell_type":"markdown"},"source":"Write code to figure out how many people are classified as having diabetes (class = 1).","block_group":"00008-389ce810-0027-4af4-b4bf-a5bdc38c1573"},{"cell_type":"code","metadata":{"id":"-jq2O-vriXRT","colab":{},"colab_type":"code","cell_id":"a6887532b80b4adb87c770f099aa4f10","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00009-5eb55bcc-0b10-4a59-a3de-fad689a23fe1","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"oeFT7T9OnuSd","colab_type":"text","cell_id":"64f02ff68e7c474c9e7fc0a702a14cb8","deepnote_cell_type":"markdown"},"source":"What percent of patients have diabetes in this study?","block_group":"00010-31b5f7c6-ea56-457b-ae9c-72ab86c5c567"},{"cell_type":"code","metadata":{"id":"zGGHptFYnwq0","colab":{},"colab_type":"code","cell_id":"ed9b2e28f9c04727a0eafd8700de3918","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00011-a33c8893-4cbc-42b5-898d-e3115c13e329","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"nbrjnRPafs0p","colab_type":"text","cell_id":"b3f2d9581ae548f58ed9fe26c3aee3f8","deepnote_cell_type":"markdown"},"source":"Print out the `\"pres\"` and `\"class\"` (no other columns) for the first 5 people.","block_group":"00012-5080ee0d-b515-4ca1-954d-63144b849480"},{"cell_type":"code","metadata":{"id":"GiNCJ19KfHJQ","colab":{},"colab_type":"code","cell_id":"01019e29c2014bf6a441e057abba2f9e","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00013-52905732-b305-424f-98c1-182e4ababc0c","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"O-CcsoqlhxUn","colab_type":"text","cell_id":"941008e0af7a492da96b3abe53dd42e8","deepnote_cell_type":"markdown"},"source":"Run the cell below. It will print out the correlation among the columns.","block_group":"00014-f3aad72a-9f72-4fb7-9d82-8d10b502d48a"},{"cell_type":"code","metadata":{"id":"pXpVFt6MffQt","colab":{},"colab_type":"code","cell_id":"da7e234e2a524ba5bccc1abca9403242","deepnote_cell_type":"code"},"source":"data.corr()","block_group":"00015-2172a85f-0f52-484b-a29e-5c3e48658917","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"P_7xRF11h4Uf","colab_type":"text","cell_id":"e997afc652874c998538abd8c6709868","deepnote_cell_type":"markdown"},"source":"What column has the highest correlation with class? Find the mean() value of that column.","block_group":"00016-c6dc3dd2-3401-45f6-82f1-9b8d3db94077"},{"cell_type":"code","metadata":{"id":"clb2Gh8Mn9d4","colab":{},"colab_type":"code","cell_id":"56dbceaf5abc43b8a0f63d52155d3437","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00017-b1dcf134-97de-42fa-ac10-96fe97db8e2c","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"64yWhAARoWw-","colab_type":"text","cell_id":"c0d11e34902f43c9b27ea8bec3cb4e53","deepnote_cell_type":"markdown"},"source":"Create a new DataFrame with only people that are above the mean found in the above cell.","block_group":"00018-fd63fcb2-c10a-4a26-b428-e30348fe833a"},{"cell_type":"code","metadata":{"id":"HRLjs3agkdPY","colab":{},"colab_type":"code","cell_id":"7abdcc4306e04f8dbee0441c9ad8484e","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00019-8b938a90-7bd5-4ba2-92f1-4df4ffc190e0","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"RxGIQp0JrUnq","colab_type":"text","cell_id":"9e4aa1038992436ab1d785bd87e723bc","deepnote_cell_type":"markdown"},"source":"Create a new DataFrame that only includes people who are above the average value for each column in the dataset. In other words, find the average value for each column, then find which users have values above all of these average column values.","block_group":"00020-d5d0c3ea-9655-4aa2-97dd-4bf3a09e357f"},{"cell_type":"code","metadata":{"id":"Ylf4p6NNrfME","colab":{},"colab_type":"code","cell_id":"4d9ef239a8f0441584ea8ae6632b7626","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00021-064e8e41-d624-434c-a65a-392e463c840e","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"Cy_6ce7_8qAB","colab_type":"text","cell_id":"3671e78d9dca46aa8777ba73e48b38e6","deepnote_cell_type":"markdown"},"source":"*Note: The next 3 problems were not explicitly shown in our tutorial—being able to effectively Google and look through documentation is a very important coding tool!* ¯\\\\\\_(ツ)_/¯","block_group":"00022-a1b28b03-6953-469c-a45d-80d21b3d36f6"},{"cell_type":"markdown","metadata":{"id":"24pCgP2xbCwZ","colab_type":"text","cell_id":"e0fd3ba4ecbf4961ae5fcc89df3e45b5","deepnote_cell_type":"markdown"},"source":"Ignoring the index (resetting the index to 0) and using the DataFrame from the cell above, sort the values based on `\"skin\"`, `\"test\"`, and `\"pedi\"` values in ascending order. Please write this in one line.","block_group":"00023-818ed759-16d8-4469-8fcb-19c412faa4c9"},{"cell_type":"code","metadata":{"id":"wXZysbVwa7i5","colab":{},"colab_type":"code","cell_id":"aa9a4b68244d4bb29bd4778ce894ca80","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00024-1c8fa3ef-1628-44ef-bef7-554c548fea45","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"BIJkXsK4ch-u","colab_type":"text","cell_id":"6183022cafaa4a0c8808356c96179f6f","deepnote_cell_type":"markdown"},"source":"Now, let's find the 4 largest values for `\"age\"`.","block_group":"00025-31c03cc1-a702-4c90-89f0-dab8fb9b51bf"},{"cell_type":"code","metadata":{"id":"kSl28jLLdAF9","colab":{},"colab_type":"code","cell_id":"b883e8fa116f41458ac0f7ba3a5dca7e","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00026-9728e4ca-d0d3-4d8c-a818-707a90e9e5d3","execution_count":null,"outputs":[]},{"cell_type":"markdown","metadata":{"id":"fJRwe8UfqvNG","colab_type":"text","cell_id":"15cf5ab7066e4fbda9855b31b83e81f6","deepnote_cell_type":"markdown"},"source":"Find the smallest 4 values for `\"pedi\"` and `\"plas\"` in reverse order (smallest to largest).","block_group":"00027-a5e12cb1-a313-47bf-9640-256181c460ad"},{"cell_type":"code","metadata":{"id":"icQcbPg1quNI","colab":{},"colab_type":"code","cell_id":"7a70f975023d41c6a1a5c838e90dcbfd","deepnote_cell_type":"code"},"source":"# YOUR CODE HERE","block_group":"00028-2add4c0a-65b7-424e-a4d9-756817979e60","execution_count":null,"outputs":[]},{"cell_type":"markdown","source":"\nCreated in deepnote.com \nCreated in Deepnote","metadata":{"created_in_deepnote_cell":true,"deepnote_cell_type":"markdown"}}],"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"Pandas_Exercises","provenance":[],"collapsed_sections":[]},"deepnote":{},"kernelspec":{"name":"python3","language":"python","display_name":"Python 3"},"language_info":{"name":"python","version":"3.7.3","mimetype":"text/x-python","file_extension":".py","pygments_lexer":"ipython3","codemirror_mode":{"name":"ipython","version":3},"nbconvert_exporter":"python"},"deepnote_notebook_id":"4bf81f07404a4090ac77fab775375d11","deepnote_execution_queue":[],"deepnote_persisted_session":{"createdAt":"2023-08-25T18:16:14.433Z"}}}