title: pandas multiply each dataset row by multiple vectors
body: <pre><code>df = {1,2,3
        4,5,6
        7,8,9,
        10,11,12
  }
  
  weights={[1,3,3],[2,2,2],[3,1,1]}
  </code></pre>
  
  <p>I want to multiply my df with every line of matrix weights(so I'll have like three different df, one for each vector of weights, and to combine each df by keeping the biggest line of values). Ex:</p>
  
  <pre><code>df0=df * weights[0]={1,6,9
                      4,15,18,
                      7,24,27
                      10,33,36
                      } 
  
  df1=df*wieghts[1]={2,4,6,
                     8,19,12,
                     14,16,18,
                     20,22,24
                    }
  
  df2=df*wieghts[2]={3,2,3,
                     12,5,6,
                     21,8,9,
                     30,11,12
                    }
  </code></pre>
  
  <p>and </p>
  
  <pre><code>final_df_lines=max{df0,df1,df2}={1,6,9 - max line line from df0, 
                                       4,15,18, - max line from df0, 
                                       7,24,27 - max line from df0, 
                                       10,33,36 - max line from df0, 
                                       } 
  </code></pre>
  
  <p>In this example all max were from df0 ... but they could be from any of the three df. Max line is just adding the numbers from the same line..</p>
  
  <p>I need to do this things vectorized(without any loops or if...) how do I do this? is it possible at least? I really need welp :( for 2 days I'm searching the internet to do this... I did not work in python for too long...</p>