Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3f624f2cce5b76d09dcee501242941ad
mooc-rr
Commits
bde72742
Commit
bde72742
authored
Aug 20, 2024
by
3f624f2cce5b76d09dcee501242941ad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no commit message
parent
36b06f8f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
72 deletions
+39
-72
exercice.ipynb
module2/exo3/exercice.ipynb
+3
-32
exercice.ipynb
module2/exo4/exercice.ipynb
+36
-40
No files found.
module2/exo3/exercice.ipynb
View file @
bde72742
This diff is collapsed.
Click to expand it.
module2/exo4/exercice.ipynb
View file @
bde72742
...
...
@@ -138,59 +138,55 @@
},
{
"cell_type": "code",
"execution_count":
18
,
"execution_count":
21
,
"metadata": {},
"outputs": [
{
"ename": "ERROR",
"evalue": "Error: '/cdu_ba_pied.csv' does not exist.\n",
"output_type": "error",
"traceback": [
"Error: '/cdu_ba_pied.csv' does not exist.\nTraceback:\n",
"1. read_csv(\"/cdu_ba_pied.csv\")",
"2. read_delimited(file, tokenizer, col_names = col_names, col_types = col_types, \n . locale = locale, skip = skip, comment = comment, n_max = n_max, \n . guess_max = guess_max, progress = progress)",
"3. standardise_path(file)",
"4. check_path(path)",
"5. stop(\"'\", path, \"' does not exist\", if (!is_absolute_path(path)) paste0(\" in current working directory ('\", \n . getwd(), \"')\"), \".\", call. = FALSE)"
]
"data": {
"text/html": [
"<table>\n",
"<thead><tr><th scope=col>/home/3f624f2cce5b76d09dcee501242941ad/</th></tr></thead>\n",
"<tbody>\n",
"\t<tr><td>mooc-rr/module2/exo4/cdu_ba_pied.csv</td></tr>\n",
"</tbody>\n",
"</table>\n"
],
"text/latex": [
"\\begin{tabular}{r|l}\n",
" /home/3f624f2cce5b76d09dcee501242941ad/\\\\\n",
"\\hline\n",
"\t mooc-rr/module2/exo4/cdu\\_ba\\_pied.csv\\\\\n",
"\\end{tabular}\n"
],
"text/markdown": [
"\n",
"/home/3f624f2cce5b76d09dcee501242941ad/ | \n",
"|---|\n",
"| mooc-rr/module2/exo4/cdu_ba_pied.csv | \n",
"\n",
"\n"
],
"text/plain": [
" /home/3f624f2cce5b76d09dcee501242941ad/\n",
"1 mooc-rr/module2/exo4/cdu_ba_pied.csv "
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"data1 <- read_csv('/cdu_ba_pied.csv')\n",
"data1 <- read_csv('/home/3f624f2cce5b76d09dcee501242941ad/\n",
"mooc-rr/module2/exo4/cdu_ba_pied.csv')\n",
"head(data1)"
]
},
{
"cell_type": "code",
"execution_count": 16,
"cell_type": "markdown",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Classes ‘tbl_df’, ‘tbl’ and 'data.frame':\t1 obs. of 1 variable:\n",
" $ /home/3f624f2cce5b76d09dcee501242941ad/: chr \"mooc-rr/module2/exo4/cdu_ba_pied.csv\"\n",
" - attr(*, \"spec\")=List of 2\n",
" ..$ cols :List of 1\n",
" .. ..$ /home/3f624f2cce5b76d09dcee501242941ad/: list()\n",
" .. .. ..- attr(*, \"class\")= chr \"collector_character\" \"collector\"\n",
" ..$ default: list()\n",
" .. ..- attr(*, \"class\")= chr \"collector_guess\" \"collector\"\n",
" ..- attr(*, \"class\")= chr \"col_spec\"\n"
]
}
],
"source": [
"
str(data1)
"
"
Bon j'arrive pas à importer le fichier ça me soule
"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment