Skip to content

Commit 1ebcfb1

Browse files
authored
Merge pull request #338 from NPalopoli/patch-8
03-index-slice-subset.md: use proper dataframe name
2 parents cc6568b + 24781c8 commit 1ebcfb1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_episodes/03-index-slice-subset.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ selects the element that is 3 rows down and 7 columns over in the DataFrame.
348348
>
349349
> 2. What happens when you call:
350350
>
351-
> - `dat.iloc[0:4, 1:4]`
352-
> - `dat.loc[0:4, 1:4]`
351+
> - `surveys_df.iloc[0:4, 1:4]`
352+
> - `surveys_df.loc[0:4, 1:4]`
353353
>
354354
> - How are the two commands different?
355355
{: .challenge}

0 commit comments

Comments
 (0)