DOC: DataFrame.equals: (row) indices are also compared
#### Location of the documentation

https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.equals.html

#### Documentation problem

```
DataFrame.equals(self, other)

Test whether two objects contain the same elements.

This function allows two Series or DataFrames to be compared against each other to see if they have
the same shape and elements. NaNs in the same location are considered equal.
The column headers do not need to have the same type, but the elements within the columns
must be the same dtype.
```

#### Suggested fix for documentation

But in fact, (row) indices are also compared:

```python
df = pd.DataFrame([ [1] ], columns=['a'], index=[0])
not_exactly_equal = pd.DataFrame([ [1] ], columns=['a'], index=[1])
df.equals(not_exactly_equal)  # => False
```

P.S. And what is `column header type`?
One more: does `the elements within the columns must be the same dtype` mean `columns  should have the same dtype`? Or: `type(df1.iloc[i, j]) == type(df2.iloc[i, j])`?