This is my first question here so please excuse me if I cannot explain it very clearly or if I make any mistakes in the way I am posting this.
I have two dataframes (df1 and df2) below;
df1:
Type1 Dia
A 10.25
B 10.5
df2:
Type2 MinDia MinR
X 3.4 580.4878
Y 3.9 665.8537
df2['MinR'] = df2['MinDia'] * 1750 / (VALUE)
I just calculated MinR as an example using the first value under 'Dia' column on 'A' row from df1 (10.25).
I want to use each of the values under 'Dia' column from df1 in the formula above where it says (VALUE) and print all possible combinations and also show the corresponding Type column names (Type1 and Type2) from df1 and df2 under separate columns. The final version of the code should look like this.
df3:
Type1 Type2 MinDia MinR
A X 3.4 580.4878
A Y 3.9 665.8537
B X 3.4 566.6667
B Y 3.9 650.0