Skip to content
Extraits de code Groupes Projets
exercise1.ipynb 4,61 ko
Newer Older
  • Learn to ignore specific revisions
  • {
     "cells": [
      {
       "cell_type": "markdown",
       "metadata": {
        "_cell_guid": "79c7e3d0-c299-4dcb-8224-4455121ee9b0",
        "_uuid": "d629ff2d2480ee46fbb7e2d37f6b5fab8052498a",
        "collapsed": true,
        "papermill": {
         "duration": 0.017556,
         "end_time": "2020-11-28T09:59:49.250824",
         "exception": false,
         "start_time": "2020-11-28T09:59:49.233268",
         "status": "completed"
        },
        "tags": []
       },
       "source": [
        "# Import Relevant Libraries"
       ]
      },
      {
       "cell_type": "code",
       "execution_count": 23,
       "metadata": {
        "execution": {
         "iopub.execute_input": "2020-11-28T09:59:49.284782Z",
         "iopub.status.busy": "2020-11-28T09:59:49.283755Z",
         "iopub.status.idle": "2020-11-28T09:59:49.288119Z",
         "shell.execute_reply": "2020-11-28T09:59:49.287255Z"
        },
        "papermill": {
         "duration": 0.023323,
         "end_time": "2020-11-28T09:59:49.288266",
         "exception": false,
         "start_time": "2020-11-28T09:59:49.264943",
         "status": "completed"
        },
        "tags": []
       },
       "outputs": [],
       "source": [
        "import pandas as pd\n",
        "import json"
       ]
      },
      {
       "cell_type": "markdown",
       "metadata": {
        "papermill": {
         "duration": 0.013503,
         "end_time": "2020-11-28T09:59:49.316142",
         "exception": false,
         "start_time": "2020-11-28T09:59:49.302639",
         "status": "completed"
        },
        "tags": []
       },
       "source": [
        "# Loading CSV Files\n",
        "Loading netflix_titles.csv using the pandas package and displaying the five first rows"
       ]
      },
      {
       "cell_type": "code",
       "execution_count": 1,
       "metadata": {
        "execution": {
         "iopub.execute_input": "2020-11-28T09:59:49.356904Z",
         "iopub.status.busy": "2020-11-28T09:59:49.355798Z",
         "iopub.status.idle": "2020-11-28T09:59:49.431952Z",
         "shell.execute_reply": "2020-11-28T09:59:49.431106Z"
        },
        "papermill": {
         "duration": 0.102052,
         "end_time": "2020-11-28T09:59:49.432106",
         "exception": false,
         "start_time": "2020-11-28T09:59:49.330054",
         "status": "completed"
        },
        "tags": []
       },
       "outputs": [],
       "source": [
        "## @COMPLETE : load the data here"
       ]
      },
      {
       "cell_type": "markdown",
       "metadata": {
        "papermill": {
         "duration": 0.017767,
         "end_time": "2020-11-28T09:59:50.035000",
         "exception": false,
         "start_time": "2020-11-28T09:59:50.017233",
         "status": "completed"
        },
        "tags": []
       },
       "source": [
        "# Loading JSON Files\n",
        "Loading covid_19.json using the json package and displaying its metadata."
       ]
      },
      {
       "cell_type": "code",
       "execution_count": 2,
       "metadata": {
        "execution": {
         "iopub.execute_input": "2020-11-28T09:59:50.076931Z",
         "iopub.status.busy": "2020-11-28T09:59:50.076157Z",
         "iopub.status.idle": "2020-11-28T09:59:50.092883Z",
         "shell.execute_reply": "2020-11-28T09:59:50.093478Z"
        },
        "papermill": {
         "duration": 0.04093,
         "end_time": "2020-11-28T09:59:50.093696",
         "exception": false,
         "start_time": "2020-11-28T09:59:50.052766",
         "status": "completed"
        },
        "scrolled": true,
        "tags": []
       },
       "outputs": [],
       "source": [
        "## @COMPLETE : load the data here"
       ]
      },
      {
       "cell_type": "markdown",
       "metadata": {},
       "source": [
        "# Loading XML Files\n",
        "Loading clinical_trials.xml and displaying the file"
       ]
      },
      {
       "cell_type": "code",
       "execution_count": 2,
       "metadata": {},
       "outputs": [],
       "source": [
        "## @COMPLETE : load the data here"
       ]
      },
      {
       "cell_type": "markdown",
       "metadata": {},
       "source": [
        "# Loading HTML Files\n",
        "Loading lsm.html and displaying the file"
       ]
      },
      {
       "cell_type": "code",
       "execution_count": 1,
       "metadata": {},
       "outputs": [],
       "source": [
        "## @COMPLETE : load the data here"
       ]
      },
      {
       "cell_type": "code",
       "execution_count": null,
       "metadata": {},
       "outputs": [],
       "source": []
      }
     ],
     "metadata": {
      "kernelspec": {
       "display_name": "Web Mining",
       "language": "python",
       "name": "web-mining"
      },
      "language_info": {
       "codemirror_mode": {
        "name": "ipython",
        "version": 3
       },
       "file_extension": ".py",
       "mimetype": "text/x-python",
       "name": "python",
       "nbconvert_exporter": "python",
       "pygments_lexer": "ipython3",
       "version": "3.9.9"
      },
      "papermill": {
       "duration": 7.357046,
       "end_time": "2020-11-28T09:59:51.356036",
       "environment_variables": {},
       "exception": null,
       "input_path": "__notebook__.ipynb",
       "output_path": "__notebook__.ipynb",
       "parameters": {},
       "start_time": "2020-11-28T09:59:43.998990",
       "version": "2.1.0"
      }
     },
     "nbformat": 4,
     "nbformat_minor": 4
    }