File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 57
57
" The sampling order in this example follows the computational graph: \n " ,
58
58
" \n " ,
59
59
" $$\n " ,
60
- " b \\ to a \\ to \\ theta \\ to y.\n " ,
61
- " $$"
60
+ " \\ begin{array}{c}\n " ,
61
+ " b\\\\ \\ downarrow\\\\ a\\\\ \\ downarrow\\\\ \\ theta\\\\ \\ downarrow\\\\ y\n " ,
62
+ " \\ end{array}\n " ,
63
+ " $$\n "
62
64
]
63
65
},
64
66
{
381
383
},
382
384
{
383
385
"cell_type" : " code" ,
384
- "execution_count" : 11 ,
386
+ "execution_count" : null ,
385
387
"metadata" : {},
386
388
"outputs" : [
387
389
{
460
462
}
461
463
],
462
464
"source" : [
463
- " df = pd.read_csv('data/sleepstudy.csv')\n " ,
465
+ " # To get the file using wget\n " ,
466
+ " # !wget -O sleepstudy.csv https://raw.githubusercontent.com/elizavetasemenova/prob-epi/main/data/sleepstudy.csv\n " ,
467
+ " # df = pd.read_csv('sleepstudy.csv')\n " ,
468
+ " # Drop the colum\n " ,
469
+ " # df = df.drop('Unnamed: 0', axis=1)\n " ,
470
+ " # df.head()\n " ,
464
471
" \n " ,
465
- " #!wget -O sleepstudy.csv https://github.com/elizavetasemenova/prob-epi/blob/main/data/sleepstudy.csv\n " ,
466
- " #df = pd.read_csv('sleepstudy.csv', sep=\" ;\" )\n " ,
467
472
" \n " ,
473
+ " df = pd.read_csv('data/sleepstudy.csv')\n " ,
468
474
" # Drop the column\n " ,
469
475
" df = df.drop('Unnamed: 0', axis=1)\n " ,
470
476
" df.head()"
You can’t perform that action at this time.
0 commit comments