{"id":474,"date":"2022-02-28T17:57:26","date_gmt":"2022-02-28T16:57:26","guid":{"rendered":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/?p=474"},"modified":"2022-05-03T10:50:41","modified_gmt":"2022-05-03T08:50:41","slug":"traitement-de-donnees-en-table","status":"publish","type":"post","link":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/2022\/02\/28\/traitement-de-donnees-en-table\/","title":{"rendered":"Traitement de donn\u00e9es en table"},"content":{"rendered":"\n<p class=\"has-vivid-cyan-blue-color has-text-color has-background\" style=\"background-color:#bfe6ff\"><strong>1 &#8211; Fichier csv et tableur<\/strong><\/p>\n\n\n\n<p>1- Quel est le s\u00e9parateur utilis\u00e9 ?<\/p>\n\n\n\n<p>Les s\u00e9parateurs sont des virgules.<\/p>\n\n\n\n<p>2-  Que contient la premi\u00e8re ligne ?<\/p>\n\n\n\n<p>Ce sont les cat\u00e9gories.<\/p>\n\n\n\n<p>3- Pourquoi trouve-t-on parfois des virgules qui se suivent ?<\/p>\n\n\n\n<p>Car les donn\u00e9es de ces cat\u00e9gories ne sont pas renseign\u00e9es dans chaque ligne.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color has-background\" style=\"background-color:#c4e8ff\"><strong>2 &#8211; Fi<strong>chier csv et python<\/strong><\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong>On importe le fichier csv dans le drive :<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">from google.colab import files\ndata_to_load = files.upload()<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"656\" height=\"71\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-4.png\" alt=\"\" class=\"wp-image-492\" srcset=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-4.png 656w, http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-4-300x32.png 300w\" sizes=\"(max-width: 656px) 100vw, 656px\" \/><\/figure>\n\n\n\n<p><strong>Premi\u00e8re m\u00e9thode pour le lire :<\/strong><\/p>\n\n\n\n<p>On cr\u00e9e un tableau \u00e9l\u00e8ves contenant chacune des lignes du fichier csv :<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">file=open('poudlard1.csv','r',encoding = \"ISO-8859-1\")\neleves=[]\nfor line in file:\n    eleves .append(line)<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eleves<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"779\" height=\"389\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-5.png\" alt=\"\" class=\"wp-image-493\" srcset=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-5.png 779w, http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-5-300x150.png 300w, http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-5-768x384.png 768w\" sizes=\"(max-width: 779px) 100vw, 779px\" \/><\/figure>\n\n\n\n<p>La premi\u00e8re valeur contient les index des colonnes comme dans le fichier csv. Ensuite chacune des lignes est enregistr\u00e9e dans une variable de type str.<\/p>\n\n\n\n<p>On peut refaire la m\u00eame chose avec une liste en compr\u00e9hension.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">file=open('poudlard1.csv','r',encoding = \"ISO-8859-1\")\neleves=[line for line in file]\nfile.close()<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eleves[17]<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"348\" height=\"29\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-6.png\" alt=\"\" class=\"wp-image-494\" srcset=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-6.png 348w, http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-6-300x25.png 300w\" sizes=\"(max-width: 348px) 100vw, 348px\" \/><\/figure>\n\n\n\n<p>Les valeurs d&rsquo;une ligne sont s\u00e9par\u00e9s par des \u00ab\u00a0;\u00a0\u00bb On peut s\u00e9parer les valeurs d&rsquo;une ligne dans un tableau.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eleves[17].split(\",\")<\/pre>\n\n\n\n<p>On peut g\u00e9n\u00e9raliser.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">file=open('poudlard1.csv','r',encoding = \"ISO-8859-1\")\neleves=[line.split(';') for line in file]\nfile.close()<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">for val in eleves:\n  print(val)<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"978\" height=\"389\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-7.png\" alt=\"\" class=\"wp-image-495\" srcset=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-7.png 978w, http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-7-300x119.png 300w, http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-7-768x305.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/figure>\n\n\n\n<p><strong>Lecture du fichier csv : m\u00e9thode 2<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import csv\neleves=[]\nwith open('poudlard1.csv',newline='',encoding = \"ISO-8859-1\") as csvfile:\n          s=csv.DictReader(csvfile,delimiter=';')\n          for line in s:\n              eleves.append(dict(line))<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eleves<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"217\" height=\"178\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-8.png\" alt=\"\" class=\"wp-image-497\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"203\" height=\"177\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-9.png\" alt=\"\" class=\"wp-image-498\" \/><\/figure>\n\n\n\n<p>Etc sur toute la liste.<\/p>\n\n\n\n<p>On constate que \u00e9l\u00e8ves est une liste de dictionnaires.<\/p>\n\n\n\n<p>On r\u00e9cup\u00e8re une valeur de la liste et on v\u00e9rifie que c&rsquo;est bien un dictionnaire.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eleves[16]<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"204\" height=\"178\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-10.png\" alt=\"\" class=\"wp-image-500\" \/><\/figure>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">type(eleves[16])<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"54\" height=\"30\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-11.png\" alt=\"\" class=\"wp-image-501\" \/><\/figure>\n\n\n\n<p>Il n&rsquo;y a plus la premi\u00e8re ligne du fichier csv contenant les champs.Les champs sont les clefs des dictionnaires.Ceci explique le d\u00e9calage pour Hermione qui passe de l&rsquo;indice 17 \u00e0 l&rsquo;indice 16.On peut utiliser les clefs pour r\u00e9cup\u00e9rer des valeurs. Quel \u00e9l\u00e8ve se trouve en ligne 16 ?<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eleves[16]['\u00c9l\u00e8ve']<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"106\" height=\"30\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-12.png\" alt=\"\" class=\"wp-image-502\" \/><\/figure>\n\n\n\n<p>Hermione est-elle une moldu ?<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eleves[16]['Moldu']<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"46\" height=\"25\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-13.png\" alt=\"\" class=\"wp-image-503\" \/><\/figure>\n\n\n\n<p>Quelle est la note d&rsquo;Hermione en botanique ?<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eleves[16]['Botanique']<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"45\" height=\"26\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-14.png\" alt=\"\" class=\"wp-image-504\" \/><\/figure>\n\n\n\n<p>Hermione n&rsquo;a pas de note. Attribuons la note 19 \u00e0 Hermione en botanique.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eleves[16]['Botanique']=19\neleves[16]<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"218\" height=\"183\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-18.png\" alt=\"\" class=\"wp-image-509\" \/><\/figure>\n\n\n\n<p>Comment g\u00e9n\u00e9rer une note al\u00e9atoire ?<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import random\nrandom.randint(0,20)<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"31\" height=\"25\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-17.png\" alt=\"\" class=\"wp-image-507\" \/><figcaption>Note g\u00e9n\u00e9r\u00e9e al\u00e9atoirement.<\/figcaption><\/figure>\n\n\n\n<p>Comment g\u00e9n\u00e9rer une liste de n notes al\u00e9atoires ?<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import random\nn=10\nnotes=[]\nfor i in range(n):\n    notes.append(random.randint(0,20))<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">print(notes)<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"290\" height=\"29\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-19.png\" alt=\"\" class=\"wp-image-510\" \/><\/figure>\n\n\n\n<p>Comment g\u00e9n\u00e9rer une liste de n notes al\u00e9atoires avec une liste en compr\u00e9hension ?<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import random\nn=10\nnotes=[random.randint(0,20) for _ in range(n)]<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">print(notes)<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"290\" height=\"27\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-21.png\" alt=\"\" class=\"wp-image-512\" \/><\/figure>\n\n\n\n<p>Pour un \u00e9l\u00e8ve ici Hermione on peut g\u00e9n\u00e9rer une note al\u00e9atoire pour chacune des 5 mati\u00e8res.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import random\nmatieres=['Potions', 'Botanique','\u00e9tude des Moldus', 'Sortil\u00e8ges', 'Vol sur Balai']\nnotes=[random.randint(10,20) for val in matieres]\nfor i in range(5):\n    eleves[16][matieres[i]]=notes[i]<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">eleves[16]<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"213\" height=\"181\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-22.png\" alt=\"\" class=\"wp-image-513\" \/><\/figure>\n\n\n\n<p>On g\u00e9n\u00e8re une note al\u00e9atoire pour chacun des \u00e9l\u00e8ves dans chacune des mati\u00e8res.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import random\nmatieres=['Potions', 'Botanique','\u00e9tude des Moldus', 'Sortil\u00e8ges', 'Vol sur Balai']\nfor eleve in eleves:\n    for i in range(5):\n        notes=[random.randint(10,20) for val in matieres]\n        eleve[matieres[i]]=notes[i]<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"27\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-24-1024x27.png\" alt=\"\" class=\"wp-image-515\" srcset=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-24-1024x27.png 1024w, http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-24-300x8.png 300w, http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-24-768x20.png 768w, http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-24.png 1132w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Vous pouvez afficher vos r\u00e9sultats comme sur pronote avec un diagramme en \u00ab\u00a0araign\u00e9e\u00a0\u00bb.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"dracula\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import plotly.graph_objects as go\nradar = go.Scatterpolar(r = [eleves[13][val] for val in matieres],theta = matieres,fill = 'toself')\ndata = [radar]\nfig = go.Figure(data = data)\nfig.update_layout(title_text = eleves[13]['\u00c9l\u00e8ve'])\nfig.show()<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"658\" height=\"482\" src=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-25.png\" alt=\"\" class=\"wp-image-516\" srcset=\"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-25.png 658w, http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-content\/uploads\/sites\/8\/2022\/03\/image-25-300x220.png 300w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/figure>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color has-background\" style=\"background-color:#c4e8ff\"><strong>3 &#8211; Projet 1<\/strong><\/p>\n\n\n\n<p class=\"has-vivid-purple-color has-text-color has-background\" style=\"background-color:#e6cbff\"><strong>3-1) Lecture des fichiers csv<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/colab.research.google.com\/drive\/1eJAatkxK4AAo_K21XXPvbqvt0NpYm5P6?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/colab.research.google.com\/drive\/1eJAatkxK4AAo_K21XXPvbqvt0NpYm5P6?usp=sharing<\/a><\/p>\n\n\n\n<p class=\"has-vivid-purple-color has-text-color has-background\" style=\"background-color:#e5caff\"><strong>3-2) Recherche et ajout de donn\u00e9es manquantes<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/colab.research.google.com\/drive\/1eJAatkxK4AAo_K21XXPvbqvt0NpYm5P6?usp=sharing\">https:\/\/colab.research.google.com\/drive\/1eJAatkxK4AAo_K21XXPvbqvt0NpYm5P6?usp=sharing<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/colab.research.google.com\/drive\/1DfLkhxq3vjwxGH9FCMLk72FCQVpOQxP0?usp=sharing\">https:\/\/colab.research.google.com\/drive\/1DfLkhxq3vjwxGH9FCMLk72FCQVpOQxP0?usp=sharing<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 &#8211; Fichier csv et tableur 1- Quel est le s\u00e9parateur utilis\u00e9 ? Les s\u00e9parateurs sont des virgules. 2- Que contient la premi\u00e8re ligne ? Ce sont les cat\u00e9gories. 3- Pourquoi trouve-t-on parfois des virgules qui se suivent ? Car les donn\u00e9es de ces cat\u00e9gories ne sont pas renseign\u00e9es dans chaque ligne. 2 &#8211; Fichier [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":587,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/posts\/474"}],"collection":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/comments?post=474"}],"version-history":[{"count":13,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/posts\/474\/revisions"}],"predecessor-version":[{"id":527,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/posts\/474\/revisions\/527"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/media\/587"}],"wp:attachment":[{"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/media?parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/categories?post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yb-isn.fr\/2021\/nsi\/anna\/wp-json\/wp\/v2\/tags?post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}