Question: I am trying to restrict typing more than 4 decimal digits in textbox, Can anybody help me on this please?

```
<input type="text" class="txt" id="txtValue"  ng-model="serviceParam.Value">

```

important thing is, validation should happen when typing and not focus-out(tab out).

Answer: 
```
df = pd.read_excel('your/path/filename')

```

[This](https://stackoverflow.com/questions/42386629/pandas-find-index-of-value-anywhere-in-dataframe) answer helps in finding the location of 'start' in the df

```
 for row in range(df.shape[0]): 

       for col in range(df.shape[1]):

           if df.iat[row,col] == 'start':

             row_start = row
             break

```

after having row\_start you can use subframe of pandas

```
df_required = df.loc[row_start:]

```

And if you don't need the row containing 'start', just u increment row\_start by 1

```
df_required = df.loc[row_start+1:]

```
If you know the specific rows you are interested in, you can skip from the top using `skiprow` and then parse only the row (or rows) you want using `nrows` - see [pandas.read\_excel](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_excel.html)

```
df = pd.read_excel('myfile.xlsx', 'Sheet1', skiprows=2, nrows=3,)

```