Practice question:
Assign the first five rows of the null_previous_rank
dataframe to the variable top5_null_prev_rank
by choosing the correct method out of either loc[]
or iloc[]
For the practice question above, why can’t I use the code below?(It returns an error)
top5_null_prev_rank = null_previous_rank.loc['48':'140']