I have 2 dataframes A and B. I need to check if A has all the values in B (the order is important) and if yes I need the position.

A:

```
index    X     Y
0        0     0
1        1     0
2        1     1
3        0     1
4        0     0
5        1     1
6        2     2
7        2     1
8        2     2

```

B:

```
index    X     Y
0        0     0
1        1     1
2        2     2

```

How can I check if A contains B? In this case the answer should be yes and the starting index is 4.

Since I also need to check the order of values, the following cases will be False. (dataframe A doesn't contain them):

C:

```
index    X     Y
0        0     0
1        0     0

```

A contains C? => False

D:

```
index    X     Y
0        0     0
1        0     1

```

A contains D? => False

E:

```
index    X     Y
0        1     1
1        0     0

```

A contains E? => False