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:]

```
You could use `pd.read_excel('C:\Users\MyFolder\MyFile.xlsx', sheet_name='Sheet1')` as it ignores empty excel cells.

Your DataFrame should then look like this:

```
    A      B     C
0   Start NaN   NaN
1   3      2     4
2   7      8     4
3   11     2     17

```

Then drop the first row by using

```
df.drop([0])

```

to get

```
    A      B     C
0   3      2     4
1   7      8     4
2   11     2     17

```