Skip to content

Commit 66b196c

Browse files
authored
Add files via upload
1 parent dd7f7d9 commit 66b196c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Chapter01/Excercises Ch1.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"metadata": {},
5656
"source": [
5757
" a) Use the output to answer what is the difference in the behavior of .loc and .iloc when it comes to slicing.\n",
58-
" b)\tWithout running but by only looking at the data, what will be the output of adult_df.loc[10000’:’10003’, ’relationship’:’sex].\n",
58+
" b)\tWithout running but by only looking at the data, what will be the output of adult_df.loc['10000':'10003', 'relationship':'sex'].\n",
5959
" c)\tWithout running but by only looking at the data, what will be the output of adult_df.iloc[0:3, 7:9].\n"
6060
]
6161
},
@@ -639,7 +639,7 @@
639639
"cell_type": "markdown",
640640
"metadata": {},
641641
"source": [
642-
" c)\tDraw and study the histogram and boxplots of for columns of pvt_df."
642+
" c)\tDraw and study the histogram and boxplots for columns of pvt_df."
643643
]
644644
},
645645
{
@@ -1198,7 +1198,7 @@
11981198
"cell_type": "markdown",
11991199
"metadata": {},
12001200
"source": [
1201-
" d)\tCompare the output of the code above with pvt_df from Exercise 7. Are they basically the same?\n",
1201+
" d)\tCompare the output of the code above with pvt_df from Exercise 4. Are they basically the same?\n",
12021202
" e)\tExplain what are the differences and similarities between the pair .melt()/.pivot() and the pair .stack()/.unstack()? \n",
12031203
" f)\tIf you were to choose one counterpart for .melt() between .stack()/.unstack() which one would you choose?"
12041204
]
@@ -1235,7 +1235,7 @@
12351235
"name": "python",
12361236
"nbconvert_exporter": "python",
12371237
"pygments_lexer": "ipython3",
1238-
"version": "3.8.3"
1238+
"version": "3.8.5"
12391239
}
12401240
},
12411241
"nbformat": 4,

0 commit comments

Comments
 (0)