Using the elements of two dataframes, I want to create a new dataframe. Each element in the new dataframe should be the minimum of the corresponding elements of two dataframes.

For example:

df1 and df2 should give df.

**df1 =**

A B

5 2

0 4

**df2 =**

A B

1 3

1 3

**df=**

A B

1 2

0 3