Black Lives Matter. Please consider donating to Black Girls Code today.

How to set no. of rows limit for pandas Maximum function

I have 100 rows in column B but I want to find Maximum value for only 99 rows
If i use the below code it return maximum value from 100 rows istead of 99 rows.