We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4064451 commit 746180fCopy full SHA for 746180f
1 file changed
_extras/guide.md
@@ -162,11 +162,12 @@ Tip: use `.head()` method throughout this lesson to keep your display neater for
162
163
### Selection Challenges
164
165
-* What happens when you type:
+* What happens when you execute:
166
167
- `surveys_df[0:3]`
168
- `surveys_df[:5]` slicing from first element makes 0 redundant
169
- `surveys_df[-1:]` you can count backwards
+ `surveys_df[0:3]`
+ `surveys_df[0:1]` slicing only the first element
+ `surveys_df[:5]` slicing from first element makes 0 redundant
170
+ `surveys_df[-1:]` you can count backwards
171
172
*Suggestion*: You can also select every Nth row: `surveys_df[1:10:2]`. So, how to interpret `surveys_df[::-1]`?
173
0 commit comments